Here you can find the source of isNumberic(int type)
public static boolean isNumberic(int type)
//package com.java2s; //License from project: Apache License import java.sql.Types; public class Main { public static boolean isNumberic(int type) { if (type == Types.INTEGER || type == Types.TINYINT || type == Types.SMALLINT || type == Types.DOUBLE || type == Types.FLOAT || type == Types.BIGINT) { return true; } else {//w w w. j av a 2 s . com return false; } } }