List of usage examples for java.sql Types BINARY
int BINARY
To view the source code for java.sql Types BINARY.
Click Source Link
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BINARY
.
From source file:lasige.steeldb.jdbc.BFTRowSet.java
/** * Indicates whether the given SQL data type is a binary type. * * @param type one of the constants from <code>java.sql.Types</code> * @return <code>true</code> if the given type is <code>BINARY</code>,' * <code>VARBINARY</code>, or <code>LONGVARBINARY</code>; * <code>false</code> otherwise *//*from www .j av a 2 s . com*/ private boolean isBinary(int type) { switch (type) { case java.sql.Types.BINARY: case java.sql.Types.VARBINARY: case java.sql.Types.LONGVARBINARY: return true; default: return false; } }