Here you can find the source of isBoolean(int ct)
public static boolean isBoolean(int ct)
//package com.java2s; //License from project: Open Source License public class Main { public static boolean isBoolean(int ct) { return (ct == java.sql.Types.BIT || ct == java.sql.Types.BOOLEAN); }/* w w w . j a v a 2s . co m*/ }