ExternalTypes - issue with cast of a field with column that is of another type ( string to int)

We had to add this annotation to the ID of a postgress table

@db(dataTypeOverride = 'int')

since the id in the Postgress table was declared as bigint

credit to @trothwein

1 Like