Here you can find the source of isStringType(int type)
true
if type is some string-like type: CHAR, VARCHAR.
public static boolean isStringType(int type)
//package com.java2s; import java.sql.Types; public class Main { /**//from w ww . j a v a 2 s .c o m * Returns <code>true</code> if type is some string-like type: CHAR, VARCHAR. */ public static boolean isStringType(int type) { return (type == Types.VARCHAR) || (type == Types.CHAR); } }