Jump to Real's How-to Main page

Fix incomplete field returned by the ResultSet

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.


If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]