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.
Written and compiled by Réal Gagnon ©1998-2005
[ home ]