public CallableStatement prepareCall(final String sql, 
                                         final int resultSetType, 
                                         final int resultSetConcurrency)
        throws SQLException {

        if (resultSetType != ResultSet.TYPE_FORWARD_ONLY) {
            throw new SQLFeatureNotSupportedException("Unsupported result set type");
        } // end of if

        if (resultSetConcurrency != ResultSet.CONCUR_READ_ONLY) {
            throw new SQLFeatureNotSupportedException("Unsupported result set concurrency");

        } // end of if

        return prepareCall(sql);
    }
public CallableStatement prepareCall ( final String sql , final int resultSetType , final int resultSetConcurrency ) throws SQLException { if ( resultSetType != ResultSet . TYPE_FORWARD_ONLY ) { throw new SQLFeatureNotSupportedException ( "Unsupported result set type" ) ; } if ( resultSetConcurrency != ResultSet . CONCUR_READ_ONLY ) { throw new SQLFeatureNotSupportedException ( "Unsupported result set concurrency" ) ; } return prepareCall ( sql ) ; }
{@inheritDoc}