public boolean requiresQuotingSqlType ( int sqlType ) throws SQLException { switch ( sqlType ) { case Types . BIGINT : case Types . DOUBLE : case Types . FLOAT : case Types . INTEGER : case Types . REAL : case Types . SMALLINT : case Types . TINYINT : case Types . NUMERIC : case Types . DECIMAL : return false ; } return true ; }
Returns true if particular sqlType requires quoting . This method is used internally by the driver so it might disappear without notice .