getMaxFieldSize()
Syntax:
int getMaxFieldSize() throws SQLException
Description:
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
Throws:
SQLException - if a database access error occurs or the statement has been closed
Reference:
For more information, reference JDBC documentation for: Statement.getMaxFieldSize()