@Override
    public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
    {
        if ((resultSetType == ResultSet.TYPE_SCROLL_INSENSITIVE || resultSetType == ResultSet.TYPE_FORWARD_ONLY) &&
                resultSetConcurrency == ResultSet.CONCUR_READ_ONLY) {
            return prepareStatement(sql);
        }
        checkClosed();
        throw SQLError.noSupport();
    }
@ Override public PreparedStatement prepareStatement ( String sql , int resultSetType , int resultSetConcurrency ) throws SQLException { if ( ( resultSetType == ResultSet . TYPE_SCROLL_INSENSITIVE || resultSetType == ResultSet . TYPE_FORWARD_ONLY ) && resultSetConcurrency == ResultSet . CONCUR_READ_ONLY ) { return prepareStatement ( sql ) ; } checkClosed ( ) ; throw SQLError . noSupport ( ) ; }
Creates a PreparedStatement object that will generate ResultSet objects with the given type and concurrency.