Java SQL Type isNumericType(int type)

Here you can find the source of isNumericType(int type)

Description

is Numeric Type

License

Open Source License

Declaration

public static boolean isNumericType(int type) 

Method Source Code

//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
}

Related

  1. isNumeric(int dataType)
  2. isNumeric(int pColumnType)
  3. isNumeric(int sqlType)
  4. isNumeric(int sqlType)
  5. isNumericType(int datatype)
  6. isPlainJdbcType(int type)
  7. isPrecisionRequired(int jdbcType)
  8. isPrimitive(Class type)
  9. isPrimitiveCollection(Method m)