getExpectedJdbcType

override fun getExpectedJdbcType(tableColumnMetadata: TableColumnMetadata): KType

Returns the type of the objects returned by getValueFromResultSet for the given column. Also called type J.

While DbType contains a basic type mapping, it's often necessary to override this function for specific JDBC implementations, as each implementation can deviate from the standard type mapping and may return unexpected types when ResultSet.getObject is called.

Return

the type of the objects returned by getValueFromResultSet and ResultSet.getObject for the given column

Parameters

tableColumnMetadata

all information we have about the column