interface. Since columns can be nullable, why is the signature here not allowing null values? This forces implementers to additionally check null somewhere else, and not within a custom column type implementation.
s
spand
04/08/2024, 12:17 PM
What implementers ? Afaik only exposed itself is doing the null checks. (and thus you cannot have special handling for null values I think)
Cant you just handle it in
fun readObject(rs: ResultSet, index: Int): Any?
👀 1
t
Thomas Ploch
04/08/2024, 12:21 PM
@spand - thanks for the suggestion, I'll try there.