ResultSet.getBytes

ResultSet.getBytes

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract byte[] getBytes( String columnName ) throws SQLException
Parameters
columnName
is the SQL name of the column
Returns
the column value; if the value is SQL NULL, the result is null
Description
Get the value of a column in the current row as a Java byte array. The bytes represent the raw values returned by the driver.

Exceptions
SQLException if a database-access error occurs.