code: public PreparedStatement prepareStatement(final String sql, 
                                                final int resultSetType, 
                                                final int resultSetConcurrency, 
                                                final int resultSetHoldability)
          throws SQLException {
  
          if (resultSetHoldability != ResultSet.CLOSE_CURSORS_AT_COMMIT) {
              throw new SQLFeatureNotSupportedException("Unsupported result set holdability");
          } // end of if
  
          return prepareStatement(sql, resultSetType, resultSetConcurrency);
      }
docs: {@inheritDoc}
  @throws java.sql.SQLFeatureNotSupportedException if |resultSetHoldability| is not ResultSet.CLOSE_CURSORS_AT_COMMIT