@Override public PreparedStatement prepareStatement(String sql, String columnNames[]) throws SQLException { checkOpen(); try { return super.prepareStatement(sql, columnNames); } catch (UnsupportedOperationException e) { throw new SQLFeatureNotSupportedException(e.getMessage(), e); } }
@Override public PreparedStatement prepareStatement(String sql, int columnIndexes[]) throws SQLException { checkOpen(); try { return super.prepareStatement(sql, columnIndexes); } catch (UnsupportedOperationException e) { throw new SQLFeatureNotSupportedException(e.getMessage(), e); } }
@Override public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException { checkOpen(); try { return super.prepareStatement(sql, autoGeneratedKeys); } catch (UnsupportedOperationException e) { throw new SQLFeatureNotSupportedException(e.getMessage(), e); } }
public PreparedStatement prepareStatement( String sql, int resultSetType, int resultSetConcurrency) throws SQLException { //noinspection MagicConstant return prepareStatement( sql, resultSetType, resultSetConcurrency, holdability); }
public PreparedStatement prepareStatement(String sql) throws SQLException { //noinspection MagicConstant return prepareStatement( sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY, holdability); }
@Override public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { throwIfClosed(); DremioPreparedStatementImpl statement = (DremioPreparedStatementImpl) super.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability); return statement; }
@Override public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException { throwIfClosed(); try { return super.prepareStatement(sql, autoGeneratedKeys); } catch (UnsupportedOperationException e) { throw new SQLFeatureNotSupportedException(e.getMessage(), e); } }
public PreparedStatement prepareStatement(String sql) throws SQLException { checkOpen(); //noinspection MagicConstant return prepareStatement( sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY, holdability); }
@Override public PreparedStatement prepareStatement(String sql, String columnNames[]) throws SQLException { checkOpen(); try { return super.prepareStatement(sql, columnNames); } catch (UnsupportedOperationException e) { throw new SQLFeatureNotSupportedException(e.getMessage(), e); } }
@Override public PreparedStatement prepareStatement(String sql, int columnIndexes[]) throws SQLException { checkOpen(); try { return super.prepareStatement(sql, columnIndexes); } catch (UnsupportedOperationException e) { throw new SQLFeatureNotSupportedException(e.getMessage(), e); } }
public PreparedStatement prepareStatement(String sql) throws SQLException { checkOpen(); //noinspection MagicConstant return prepareStatement( sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY, holdability); }
@Override public PreparedStatement prepareStatement(String sql) throws SQLException { throwIfClosed(); return super.prepareStatement(sql); }
@Override public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException { throwIfClosed(); return super.prepareStatement(sql, resultSetType, resultSetConcurrency); }
@Override public PreparedStatement prepareStatement(String sql, int columnIndexes[]) throws SQLException { throwIfClosed(); try { return super.prepareStatement(sql, columnIndexes); } catch (UnsupportedOperationException e) { throw new SQLFeatureNotSupportedException(e.getMessage(), e); } }
@Override public PreparedStatement prepareStatement(String sql, String columnNames[]) throws SQLException { throwIfClosed(); try { return super.prepareStatement(sql, columnNames); } catch (UnsupportedOperationException e) { throw new SQLFeatureNotSupportedException(e.getMessage(), e); } }
@Override public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException { checkOpen(); try { return super.prepareStatement(sql, autoGeneratedKeys); } catch (UnsupportedOperationException e) { throw new SQLFeatureNotSupportedException(e.getMessage(), e); } }
@Override public AvaticaPreparedStatement prepareStatement( String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { AvaticaPreparedStatement preparedStatement = (AvaticaPreparedStatement) super .prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability); server.addStatement(this, preparedStatement.handle); //server.getStatement(preparedStatement.handle).setSignature(signature); return preparedStatement; }
public PreparedStatement prepareStatement( String sql, int resultSetType, int resultSetConcurrency) throws SQLException { checkOpen(); //noinspection MagicConstant return prepareStatement( sql, resultSetType, resultSetConcurrency, holdability); }
public PreparedStatement prepareStatement( String sql, int resultSetType, int resultSetConcurrency) throws SQLException { checkOpen(); //noinspection MagicConstant return prepareStatement( sql, resultSetType, resultSetConcurrency, holdability); }