Here you can find the source of isStringType(int type)
private static boolean isStringType(int type)
//package com.java2s; //License from project: Apache License import java.sql.Types; public class Main { private static boolean isStringType(int type) { return type == Types.CHAR || type == Types.NCHAR || type == Types.VARCHAR || type == Types.LONGVARCHAR || type == Types.NVARCHAR; }//from ww w . ja va2s . c om }