findConverterByClass

open override fun findConverterByClass(sourceClass: KClass<*>, expectedOid: Int): ParameterConverter<Any>?

Same as findConverter, keyed on a class rather than an instance.

Return

The converter that would be used, or null if none claims it.

Parameters

sourceClass

The class of the value being sent.

expectedOid

The expected PostgreSQL OID, or 0 when it is not known.