Here you can find the source of isDigitalType(int sqlType)
public static boolean isDigitalType(int sqlType)
//package com.java2s; import java.sql.Types; public class Main { public static boolean isDigitalType(int sqlType) { switch (sqlType) { case Types.NUMERIC: case Types.DECIMAL: case Types.SMALLINT: case Types.INTEGER: case Types.BIGINT: case Types.REAL: case Types.FLOAT: case Types.DOUBLE: return true; default:/*from w w w.j av a2 s . co m*/ return false; } } }