Merge pull request #300 from GAumala/false-column-clob-builder

Allow false column values in clob-column-reader
This commit is contained in:
Sean Corfield 2025-04-17 23:52:02 -04:00 committed by GitHub
commit fd3c61b1e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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))))