public abstract int getMaxFieldSize () throws SQLException

Retrieves the maximum number of bytes that can be returned for character and binary column values in a ResultSet object produced by this Statement object. This limit applies only to BINARY, VARBINARY, LONGVARBINARY, CHAR, VARCHAR, NCHAR, NVARCHAR, LONGNVARCHAR and LONGVARCHAR columns. If the limit is exceeded, the excess data is silently discarded.

Returns:  the current column size limit for columns storing character and binary values; zero means there is no limit

Exceptions:
SQLException    if a database access error occurs or this method is called on a closed Statement

See also:
setMaxFieldSize