Statement.getMaxFieldSize Method
Returns the current maximum column size limit, if any.
Syntax
public int getMaxFieldSize()
Run On
Called
Return Value
Type: int
The current maximum column size limit; 0 means unlimited.
Remarks
The maxFieldSize limit (in bytes) is the maximum amount of data returned for any column value; it only applies to binary, varbinary, longvarbinary, char, varchar, and longvarchar columns. If the limit is exceeded, the excess data is silently discarded.