Example usage for java.sql JDBCType LONGVARBINARY

List of usage examples for java.sql JDBCType LONGVARBINARY

Introduction

In this page you can find the example usage for java.sql JDBCType LONGVARBINARY.

Prototype

JDBCType LONGVARBINARY

To view the source code for java.sql JDBCType LONGVARBINARY.

Click Source Link

Document

Identifies the generic SQL type LONGVARBINARY .

Usage

From source file:com.microsoft.sqlserver.testframework.DBTable.java

/**
 * /*from  ww  w. j a  va 2  s.c om*/
 * @param colNum
 * @return <code>true</code> if value can be passed as Hex for the column
 */

boolean passDataAsHex(int colNum) {
    return (JDBCType.BINARY == getColumn(colNum).getJdbctype()
            || JDBCType.VARBINARY == getColumn(colNum).getJdbctype()
            || JDBCType.LONGVARBINARY == getColumn(colNum).getJdbctype());
}