Here you can find the source of isTextType(int columnType)
public static boolean isTextType(int columnType)
//package com.java2s; //License from project: Open Source License import java.sql.Types; public class Main { public static boolean isTextType(int columnType) { if (columnType == Types.CHAR || columnType == Types.DATE || columnType == Types.LONGNVARCHAR || columnType == Types.NCHAR || columnType == Types.NVARCHAR || columnType == Types.TIME || columnType == Types.TIMESTAMP || columnType == Types.VARCHAR || columnType == Types.OTHER) return true; else/*from w w w.ja va2 s .com*/ return false; } }