Here you can find the source of isNumericType(int type)
public static boolean isNumericType(int type)
//package com.java2s; import java.sql.Types; public class Main { public static boolean isNumericType(int type) { return Types.BIGINT == type || Types.DECIMAL == type || Types.INTEGER == type || Types.NUMERIC == type || Types.SMALLINT == type || Types.TINYINT == type; }//from www.j a v a 2s . c o m }