Allow false column values in clob-column-reader

This commit is contained in:
Gabriel Aumala 2025-04-17 19:23:03 -05:00
parent f39f6b3d24
commit a3fba32605

View file

@ -323,7 +323,7 @@
"An example column-reader that still uses `.getObject` but expands CLOB "An example column-reader that still uses `.getObject` but expands CLOB
columns into strings." columns into strings."
[^ResultSet rs ^ResultSetMetaData _ ^Integer i] [^ResultSet rs ^ResultSetMetaData _ ^Integer i]
(when-let [value (.getObject rs i)] (let [value (.getObject rs i)]
(cond-> value (cond-> value
(instance? Clob value) (instance? Clob value)
(clob->string)))) (clob->string))))