private boolean isNumeric(int type) {
        switch (type) {
            case Types.NUMERIC:
            case Types.DECIMAL:
            case Types.BIT:
            case Types.TINYINT:
            case Types.SMALLINT:
            case Types.INTEGER:
            case Types.BIGINT:
            case Types.REAL:
            case Types.DOUBLE:
            case Types.FLOAT:
                return true;
            default:
                return false;
        }
    }
Indicates whether the given SQL data type is a numberic type.

@param type one of the constants from <code>java.sql.Types</code>
@return <code>true</code> if the given type is <code>NUMERIC</code>,'
        <code>DECIMAL</code>, <code>BIT</code>, <code>TINYINT</code>,
        <code>SMALLINT</code>, <code>INTEGER</code>, <code>BIGINT</code>,
        <code>REAL</code>, <code>DOUBLE</code>, or <code>FLOAT</code>;
        <code>false</code> otherwise
src/main/java/org/replicadb/rowset/sun/rowset/CachedRowSetImpl.java