Fix incomplete field returned by the ResultSetTag(s): JDBC


Some JDBC driver have limit about how big returned records can be.

First use the getMaxRowSize() and doesMaxRowSizeIncludeBlobs() from the DatabaseMetaData class to see what the maximum supported by the driver. Then getMaxFieldSize() and setMaxFieldSize() from the Statement class to adjust if necessary the current maximum value.


blog comments powered by Disqus