Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix incomplete field returned by the ResultSet
12-21-2010, 08:12 AM
Post: #1
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:



Send your comments, Suggestions or Queries regarding this site at info@tutorials4u.net

Copyright © 2010 Tutorials4u.net All Rights Reserved