Statement.getMaxFieldSize
Interface Overview | Interface Members |
This Package |
All Packages
public abstract int getMaxFieldSize() throws SQLException
Returns
the current max column size limit; zero means unlimited
Description
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.
Exceptions
SQLException
if a database-access error occurs.