Here you can find the source of isBinary(int dataType)
public static boolean isBinary(int dataType)
//package com.java2s; //License from project: Open Source License public class Main { public static boolean isBinary(int dataType) { switch (dataType) { case java.sql.Types.BLOB: case java.sql.Types.CLOB: case java.sql.Types.NCLOB: case java.sql.Types.BINARY: case java.sql.Types.VARBINARY: case java.sql.Types.LONGVARBINARY: case java.sql.Types.SQLXML: return true; default:/*from w ww . j a v a 2s . c o m*/ return false; } } }