Sahit Sadono
03/28/2024, 5:25 AMChantal Loncle
03/28/2024, 2:00 PMColumnType
, a good place to add the type cast would be in nonNullValueToString()
, something like:
override fun nonNullValueToString(value: Any): String {
return "${super.nonNullValueToString(value)}::geography"
}
This should add the typecast whenever an input value is provided to the column for processing before being sent to the database, so inserts and updates.Sahit Sadono
03/29/2024, 4:51 AM