Java SQL Type isNumberic(int type)

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

Description

is Numberic

License

Apache License

Declaration

public static boolean isNumberic(int type) 

Method Source Code

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

Related

  1. isDataNeedsQuotes(int type)
  2. isDigitalType(int sqlType)
  3. isJDBCType(final int type)
  4. isLobColumn(int dataType)
  5. isNativeType(final Class type)
  6. isNumberType(int aSqlType)
  7. isNumberType(int sqlType)
  8. isNumeric(int dataType)
  9. isNumeric(int dataType)