Here you can find the source of isNumeric(int sqlType)
public static boolean isNumeric(int sqlType)
//package com.java2s; //License from project: Apache License import java.sql.*; public class Main { /**//from ww w. j av a 2 s .co m * Check whether the given SQL type is numeric. */ public static boolean isNumeric(int sqlType) { return (Types.BIT == sqlType) || (Types.BIGINT == sqlType) || (Types.DECIMAL == sqlType) || (Types.DOUBLE == sqlType) || (Types.FLOAT == sqlType) || (Types.INTEGER == sqlType) || (Types.NUMERIC == sqlType) || (Types.REAL == sqlType) || (Types.SMALLINT == sqlType) || (Types.TINYINT == sqlType); } }