This topic has not yet been rated - Rate this topic

Statement.setMaxFieldSize Method

Sets the maximum column size limit.


public void setMaxFieldSize(int max)

Called

Parameter

Description

max

The new max column size limit; 0 means unlimited.

The maxFieldSize limit (in bytes) is set to limit the size of data that can be returned for any column value; it only applies to binary, varbinary, longvarbinary, char, varchar, and longvarchar fields. If the limit is exceeded, the excess data is silently discarded. For maximum portability, use values greater than 256.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ