gresockj commented on code in PR #8654:
URL: https://github.com/apache/nifi/pull/8654#discussion_r1568649655


##########
nifi-nar-bundles/nifi-extension-utils/nifi-database-utils/src/main/java/org/apache/nifi/util/db/JdbcCommon.java:
##########
@@ -287,6 +287,11 @@ public static long convertToAvroStream(final ResultSet rs, 
final OutputStream ou
                                 }
                             }
                             rec.put(i - 1, sb.toString());
+                            try {
+                                clob.free();
+                            } catch (SQLFeatureNotSupportedException sfnse) {
+                                // The driver doesn't support free, but allow 
processing to continue

Review Comment:
   What do you think about at least having a `logger.debug` statement here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to