@Test( expected = SQLFeatureNotSupportedException.class ) public void featureNotSupportedCallingGetNStringIdx() throws SQLException { resultSet.getNString(1); }
@Override public String getNString( int columnIndex ) throws SQLException { throw new SQLFeatureNotSupportedException(); }
JcrResultSet implements ResultSet { @Override public String getNString( int columnIndex ) throws SQLException { throw new SQLFeatureNotSupportedException(); } }
JcrResultSet implements ResultSet { @Override public String getNString( int columnIndex ) throws SQLException { throw new SQLFeatureNotSupportedException(); } protected  JcrResultSet( JcrStatement statement,
                            QueryResult jcrResults,
                            ResultSetMetaData resultSetMetaData ); protected  JcrResultSet(); }
JcrResultSet implements ResultSet { @Override public String getNString( int columnIndex ) throws SQLException { throw new SQLFeatureNotSupportedException(); } protected  JcrResultSet( JcrStatement statement,
                            QueryResult jcrResults,
                            ResultSetMetaData resultSetMetaData ); protected  JcrResultSet(); @Override boolean isClosed(); @Override void close(); @Override ResultSetMetaData getMetaData(); @Override Statement getStatement(); @Override int getType(); @Override int getFetchDirection(); @Override void setFetchDirection( int direction ); @Override boolean absolute( int row ); @Override void afterLast(); @Override void beforeFirst(); @Override void cancelRowUpdates(); @Override void clearWarnings(); @Override void deleteRow(); @Override int findColumn( String columnLabel ); @Override boolean first(); @Override int getRow(); @Override RowId getRowId( final int columnIndex ); @Override RowId getRowId( String columnLabel ); @Override String getCursorName(); @Override int getFetchSize(); @Override Array getArray( int columnIndex ); @Override Array getArray( String columnLabel ); @Override InputStream getAsciiStream( int columnIndex ); @Override InputStream getAsciiStream( String columnLabel ); @Override BigDecimal getBigDecimal( int columnIndex ); @Override BigDecimal getBigDecimal( String columnLabel ); @Override @SuppressWarnings("deprecation") BigDecimal getBigDecimal( int columnIndex,
                                     int scale ); @Override @SuppressWarnings("deprecation") BigDecimal getBigDecimal( String columnLabel,
                                     int scale ); @Override InputStream getBinaryStream( int columnIndex ); @Override InputStream getBinaryStream( String columnLabel ); @Override Blob getBlob( int columnIndex ); @Override Blob getBlob( String columnLabel ); @Override boolean getBoolean( int columnIndex ); @Override boolean getBoolean( String columnLabel ); @Override byte getByte( int columnIndex ); @Override byte getByte( String columnLabel ); @Override byte[] getBytes( int columnIndex ); @Override byte[] getBytes( String columnLabel ); @Override Reader getCharacterStream( int columnIndex ); @Override Reader getCharacterStream( String columnLabel ); @Override Clob getClob( int columnIndex ); @Override Clob getClob( String columnLabel ); @Override int getConcurrency(); @Override Date getDate( int columnIndex ); @Override Date getDate( String columnLabel ); @Override Date getDate( int columnIndex,
                         Calendar cal ); @Override Date getDate( String columnLabel,
                         Calendar cal ); @Override double getDouble( int columnIndex ); @Override double getDouble( String columnLabel ); @Override float getFloat( int columnIndex ); @Override float getFloat( String columnLabel ); @Override int getHoldability(); @Override int getInt( int columnIndex ); @Override int getInt( String columnLabel ); @Override long getLong( int columnIndex ); @Override long getLong( String columnLabel ); @Override Reader getNCharacterStream( int columnIndex ); @Override Reader getNCharacterStream( String columnLabel ); @Override NClob getNClob( int columnIndex ); @Override NClob getNClob( String columnLabel ); @Override String getNString( int columnIndex ); @Override String getNString( String columnLabel ); @Override Object getObject( int columnIndex ); @Override Object getObject( String columnLabel ); @Override Object getObject( int columnIndex,
                             Map<String, Class<?>> map ); @Override Object getObject( String columnLabel,
                             Map<String, Class<?>> map ); @Override T getObject( int columnIndex,
                            Class<T> type ); @Override T getObject( String columnLabel,
                            Class<T> type ); @Override Ref getRef( int columnIndex ); @Override Ref getRef( String columnLabel ); @Override SQLXML getSQLXML( int columnIndex ); @Override SQLXML getSQLXML( String columnLabel ); @Override short getShort( int columnIndex ); @Override short getShort( String columnLabel ); @Override String getString( int columnIndex ); @Override String getString( String columnLabel ); @Override Time getTime( int columnIndex ); @Override Time getTime( String columnLabel ); @Override Time getTime( int columnIndex,
                         Calendar cal ); @Override Time getTime( String columnLabel,
                         Calendar cal ); @Override Timestamp getTimestamp( int columnIndex ); @Override Timestamp getTimestamp( String columnLabel ); @Override Timestamp getTimestamp( int columnIndex,
                                   Calendar cal ); @Override Timestamp getTimestamp( String columnLabel,
                                   Calendar cal ); @Override URL getURL( int columnIndex ); @Override URL getURL( String columnLabel ); @Override @SuppressWarnings("deprecation") InputStream getUnicodeStream( int columnIndex ); @Override @SuppressWarnings("deprecation") InputStream getUnicodeStream( String columnLabel ); Value getValue( int columnIndex ); Value getValue( String columnLabel ); @Override SQLWarning getWarnings(); @Override void insertRow(); @Override boolean isAfterLast(); @Override boolean isBeforeFirst(); @Override boolean isFirst(); @Override boolean isLast(); @Override boolean last(); @Override void moveToCurrentRow(); @Override void moveToInsertRow(); @Override boolean next(); @Override boolean previous(); @Override void refreshRow(); @Override boolean relative( int rows ); @Override boolean rowDeleted(); @Override boolean rowInserted(); @Override boolean rowUpdated(); @Override void setFetchSize( int rows ); @Override void updateArray( int columnIndex,
                             Array x ); @Override void updateArray( String columnLabel,
                             Array x ); @Override void updateAsciiStream( int columnIndex,
                                   InputStream x ); @Override void updateAsciiStream( String columnLabel,
                                   InputStream x ); @Override void updateAsciiStream( int columnIndex,
                                   InputStream x,
                                   int length ); @Override void updateAsciiStream( String columnLabel,
                                   InputStream x,
                                   int length ); @Override void updateAsciiStream( int columnIndex,
                                   InputStream x,
                                   long length ); @Override void updateAsciiStream( String columnLabel,
                                   InputStream x,
                                   long length ); @Override void updateBigDecimal( int columnIndex,
                                  BigDecimal x ); @Override void updateBigDecimal( String columnLabel,
                                  BigDecimal x ); @Override void updateBinaryStream( int columnIndex,
                                    InputStream x ); @Override void updateBinaryStream( String columnLabel,
                                    InputStream x ); @Override void updateBinaryStream( int columnIndex,
                                    InputStream x,
                                    int length ); @Override void updateBinaryStream( String columnLabel,
                                    InputStream x,
                                    int length ); @Override void updateBinaryStream( int columnIndex,
                                    InputStream x,
                                    long length ); @Override void updateBinaryStream( String columnLabel,
                                    InputStream x,
                                    long length ); @Override void updateBlob( int columnIndex,
                            Blob x ); @Override void updateBlob( String columnLabel,
                            Blob x ); @Override void updateBlob( int columnIndex,
                            InputStream inputStream ); @Override void updateBlob( String columnLabel,
                            InputStream inputStream ); @Override void updateBlob( int columnIndex,
                            InputStream inputStream,
                            long length ); @Override void updateBlob( String columnLabel,
                            InputStream inputStream,
                            long length ); @Override void updateBoolean( int columnIndex,
                               boolean x ); @Override void updateBoolean( String columnLabel,
                               boolean x ); @Override void updateByte( int columnIndex,
                            byte x ); @Override void updateByte( String columnLabel,
                            byte x ); @Override void updateBytes( int columnIndex,
                             byte[] x ); @Override void updateBytes( String columnLabel,
                             byte[] x ); @Override void updateCharacterStream( int columnIndex,
                                       Reader x ); @Override void updateCharacterStream( String columnLabel,
                                       Reader reader ); @Override void updateCharacterStream( int columnIndex,
                                       Reader x,
                                       int length ); @Override void updateCharacterStream( String columnLabel,
                                       Reader reader,
                                       int length ); @Override void updateCharacterStream( int columnIndex,
                                       Reader x,
                                       long length ); @Override void updateCharacterStream( String columnLabel,
                                       Reader reader,
                                       long length ); @Override void updateClob( int columnIndex,
                            Clob x ); @Override void updateClob( String columnLabel,
                            Clob x ); @Override void updateClob( int columnIndex,
                            Reader reader ); @Override void updateClob( String columnLabel,
                            Reader reader ); @Override void updateClob( int columnIndex,
                            Reader reader,
                            long length ); @Override void updateClob( String columnLabel,
                            Reader reader,
                            long length ); @Override void updateDate( int columnIndex,
                            Date x ); @Override void updateDate( String columnLabel,
                            Date x ); @Override void updateDouble( int columnIndex,
                              double x ); @Override void updateDouble( String columnLabel,
                              double x ); @Override void updateFloat( int columnIndex,
                             float x ); @Override void updateFloat( String columnLabel,
                             float x ); @Override void updateInt( int columnIndex,
                           int x ); @Override void updateInt( String columnLabel,
                           int x ); @Override void updateLong( int columnIndex,
                            long x ); @Override void updateLong( String columnLabel,
                            long x ); @Override void updateNCharacterStream( int columnIndex,
                                        Reader x ); @Override void updateNCharacterStream( String columnLabel,
                                        Reader reader ); @Override void updateNCharacterStream( int columnIndex,
                                        Reader x,
                                        long length ); @Override void updateNCharacterStream( String columnLabel,
                                        Reader reader,
                                        long length ); @Override void updateNClob( int columnIndex,
                             NClob clob ); @Override void updateNClob( String columnLabel,
                             NClob clob ); @Override void updateNClob( int columnIndex,
                             Reader reader ); @Override void updateNClob( String columnLabel,
                             Reader reader ); @Override void updateNClob( int columnIndex,
                             Reader reader,
                             long length ); @Override void updateNClob( String columnLabel,
                             Reader reader,
                             long length ); @Override void updateNString( int columnIndex,
                               String string ); @Override void updateNString( String columnLabel,
                               String string ); @Override void updateNull( int columnIndex ); @Override void updateNull( String columnLabel ); @Override void updateObject( int columnIndex,
                              Object x ); @Override void updateObject( String columnLabel,
                              Object x ); @Override void updateObject( int columnIndex,
                              Object x,
                              int scaleOrLength ); @Override void updateObject( String columnLabel,
                              Object x,
                              int scaleOrLength ); @Override void updateRef( int columnIndex,
                           Ref x ); @Override void updateRef( String columnLabel,
                           Ref x ); @Override void updateRow(); @Override void updateRowId( int columnIndex,
                             RowId x ); @Override void updateRowId( String columnLabel,
                             RowId x ); @Override void updateSQLXML( int columnIndex,
                              SQLXML xmlObject ); @Override void updateSQLXML( String columnLabel,
                              SQLXML xmlObject ); @Override void updateShort( int columnIndex,
                             short x ); @Override void updateShort( String columnLabel,
                             short x ); @Override void updateString( int columnIndex,
                              String x ); @Override void updateString( String columnLabel,
                              String x ); @Override void updateTime( int columnIndex,
                            Time x ); @Override void updateTime( String columnLabel,
                            Time x ); @Override void updateTimestamp( int columnIndex,
                                 Timestamp x ); @Override void updateTimestamp( String columnLabel,
                                 Timestamp x ); @Override boolean wasNull(); @Override boolean isWrapperFor( Class<?> iface ); @Override T unwrap( Class<T> iface ); }
JcrResultSet implements ResultSet { @Override public String getNString( int columnIndex ) throws SQLException { throw new SQLFeatureNotSupportedException(); } protected  JcrResultSet( JcrStatement statement,
                            QueryResult jcrResults,
                            ResultSetMetaData resultSetMetaData ); protected  JcrResultSet(); @Override boolean isClosed(); @Override void close(); @Override ResultSetMetaData getMetaData(); @Override Statement getStatement(); @Override int getType(); @Override int getFetchDirection(); @Override void setFetchDirection( int direction ); @Override boolean absolute( int row ); @Override void afterLast(); @Override void beforeFirst(); @Override void cancelRowUpdates(); @Override void clearWarnings(); @Override void deleteRow(); @Override int findColumn( String columnLabel ); @Override boolean first(); @Override int getRow(); @Override RowId getRowId( final int columnIndex ); @Override RowId getRowId( String columnLabel ); @Override String getCursorName(); @Override int getFetchSize(); @Override Array getArray( int columnIndex ); @Override Array getArray( String columnLabel ); @Override InputStream getAsciiStream( int columnIndex ); @Override InputStream getAsciiStream( String columnLabel ); @Override BigDecimal getBigDecimal( int columnIndex ); @Override BigDecimal getBigDecimal( String columnLabel ); @Override @SuppressWarnings("deprecation") BigDecimal getBigDecimal( int columnIndex,
                                     int scale ); @Override @SuppressWarnings("deprecation") BigDecimal getBigDecimal( String columnLabel,
                                     int scale ); @Override InputStream getBinaryStream( int columnIndex ); @Override InputStream getBinaryStream( String columnLabel ); @Override Blob getBlob( int columnIndex ); @Override Blob getBlob( String columnLabel ); @Override boolean getBoolean( int columnIndex ); @Override boolean getBoolean( String columnLabel ); @Override byte getByte( int columnIndex ); @Override byte getByte( String columnLabel ); @Override byte[] getBytes( int columnIndex ); @Override byte[] getBytes( String columnLabel ); @Override Reader getCharacterStream( int columnIndex ); @Override Reader getCharacterStream( String columnLabel ); @Override Clob getClob( int columnIndex ); @Override Clob getClob( String columnLabel ); @Override int getConcurrency(); @Override Date getDate( int columnIndex ); @Override Date getDate( String columnLabel ); @Override Date getDate( int columnIndex,
                         Calendar cal ); @Override Date getDate( String columnLabel,
                         Calendar cal ); @Override double getDouble( int columnIndex ); @Override double getDouble( String columnLabel ); @Override float getFloat( int columnIndex ); @Override float getFloat( String columnLabel ); @Override int getHoldability(); @Override int getInt( int columnIndex ); @Override int getInt( String columnLabel ); @Override long getLong( int columnIndex ); @Override long getLong( String columnLabel ); @Override Reader getNCharacterStream( int columnIndex ); @Override Reader getNCharacterStream( String columnLabel ); @Override NClob getNClob( int columnIndex ); @Override NClob getNClob( String columnLabel ); @Override String getNString( int columnIndex ); @Override String getNString( String columnLabel ); @Override Object getObject( int columnIndex ); @Override Object getObject( String columnLabel ); @Override Object getObject( int columnIndex,
                             Map<String, Class<?>> map ); @Override Object getObject( String columnLabel,
                             Map<String, Class<?>> map ); @Override T getObject( int columnIndex,
                            Class<T> type ); @Override T getObject( String columnLabel,
                            Class<T> type ); @Override Ref getRef( int columnIndex ); @Override Ref getRef( String columnLabel ); @Override SQLXML getSQLXML( int columnIndex ); @Override SQLXML getSQLXML( String columnLabel ); @Override short getShort( int columnIndex ); @Override short getShort( String columnLabel ); @Override String getString( int columnIndex ); @Override String getString( String columnLabel ); @Override Time getTime( int columnIndex ); @Override Time getTime( String columnLabel ); @Override Time getTime( int columnIndex,
                         Calendar cal ); @Override Time getTime( String columnLabel,
                         Calendar cal ); @Override Timestamp getTimestamp( int columnIndex ); @Override Timestamp getTimestamp( String columnLabel ); @Override Timestamp getTimestamp( int columnIndex,
                                   Calendar cal ); @Override Timestamp getTimestamp( String columnLabel,
                                   Calendar cal ); @Override URL getURL( int columnIndex ); @Override URL getURL( String columnLabel ); @Override @SuppressWarnings("deprecation") InputStream getUnicodeStream( int columnIndex ); @Override @SuppressWarnings("deprecation") InputStream getUnicodeStream( String columnLabel ); Value getValue( int columnIndex ); Value getValue( String columnLabel ); @Override SQLWarning getWarnings(); @Override void insertRow(); @Override boolean isAfterLast(); @Override boolean isBeforeFirst(); @Override boolean isFirst(); @Override boolean isLast(); @Override boolean last(); @Override void moveToCurrentRow(); @Override void moveToInsertRow(); @Override boolean next(); @Override boolean previous(); @Override void refreshRow(); @Override boolean relative( int rows ); @Override boolean rowDeleted(); @Override boolean rowInserted(); @Override boolean rowUpdated(); @Override void setFetchSize( int rows ); @Override void updateArray( int columnIndex,
                             Array x ); @Override void updateArray( String columnLabel,
                             Array x ); @Override void updateAsciiStream( int columnIndex,
                                   InputStream x ); @Override void updateAsciiStream( String columnLabel,
                                   InputStream x ); @Override void updateAsciiStream( int columnIndex,
                                   InputStream x,
                                   int length ); @Override void updateAsciiStream( String columnLabel,
                                   InputStream x,
                                   int length ); @Override void updateAsciiStream( int columnIndex,
                                   InputStream x,
                                   long length ); @Override void updateAsciiStream( String columnLabel,
                                   InputStream x,
                                   long length ); @Override void updateBigDecimal( int columnIndex,
                                  BigDecimal x ); @Override void updateBigDecimal( String columnLabel,
                                  BigDecimal x ); @Override void updateBinaryStream( int columnIndex,
                                    InputStream x ); @Override void updateBinaryStream( String columnLabel,
                                    InputStream x ); @Override void updateBinaryStream( int columnIndex,
                                    InputStream x,
                                    int length ); @Override void updateBinaryStream( String columnLabel,
                                    InputStream x,
                                    int length ); @Override void updateBinaryStream( int columnIndex,
                                    InputStream x,
                                    long length ); @Override void updateBinaryStream( String columnLabel,
                                    InputStream x,
                                    long length ); @Override void updateBlob( int columnIndex,
                            Blob x ); @Override void updateBlob( String columnLabel,
                            Blob x ); @Override void updateBlob( int columnIndex,
                            InputStream inputStream ); @Override void updateBlob( String columnLabel,
                            InputStream inputStream ); @Override void updateBlob( int columnIndex,
                            InputStream inputStream,
                            long length ); @Override void updateBlob( String columnLabel,
                            InputStream inputStream,
                            long length ); @Override void updateBoolean( int columnIndex,
                               boolean x ); @Override void updateBoolean( String columnLabel,
                               boolean x ); @Override void updateByte( int columnIndex,
                            byte x ); @Override void updateByte( String columnLabel,
                            byte x ); @Override void updateBytes( int columnIndex,
                             byte[] x ); @Override void updateBytes( String columnLabel,
                             byte[] x ); @Override void updateCharacterStream( int columnIndex,
                                       Reader x ); @Override void updateCharacterStream( String columnLabel,
                                       Reader reader ); @Override void updateCharacterStream( int columnIndex,
                                       Reader x,
                                       int length ); @Override void updateCharacterStream( String columnLabel,
                                       Reader reader,
                                       int length ); @Override void updateCharacterStream( int columnIndex,
                                       Reader x,
                                       long length ); @Override void updateCharacterStream( String columnLabel,
                                       Reader reader,
                                       long length ); @Override void updateClob( int columnIndex,
                            Clob x ); @Override void updateClob( String columnLabel,
                            Clob x ); @Override void updateClob( int columnIndex,
                            Reader reader ); @Override void updateClob( String columnLabel,
                            Reader reader ); @Override void updateClob( int columnIndex,
                            Reader reader,
                            long length ); @Override void updateClob( String columnLabel,
                            Reader reader,
                            long length ); @Override void updateDate( int columnIndex,
                            Date x ); @Override void updateDate( String columnLabel,
                            Date x ); @Override void updateDouble( int columnIndex,
                              double x ); @Override void updateDouble( String columnLabel,
                              double x ); @Override void updateFloat( int columnIndex,
                             float x ); @Override void updateFloat( String columnLabel,
                             float x ); @Override void updateInt( int columnIndex,
                           int x ); @Override void updateInt( String columnLabel,
                           int x ); @Override void updateLong( int columnIndex,
                            long x ); @Override void updateLong( String columnLabel,
                            long x ); @Override void updateNCharacterStream( int columnIndex,
                                        Reader x ); @Override void updateNCharacterStream( String columnLabel,
                                        Reader reader ); @Override void updateNCharacterStream( int columnIndex,
                                        Reader x,
                                        long length ); @Override void updateNCharacterStream( String columnLabel,
                                        Reader reader,
                                        long length ); @Override void updateNClob( int columnIndex,
                             NClob clob ); @Override void updateNClob( String columnLabel,
                             NClob clob ); @Override void updateNClob( int columnIndex,
                             Reader reader ); @Override void updateNClob( String columnLabel,
                             Reader reader ); @Override void updateNClob( int columnIndex,
                             Reader reader,
                             long length ); @Override void updateNClob( String columnLabel,
                             Reader reader,
                             long length ); @Override void updateNString( int columnIndex,
                               String string ); @Override void updateNString( String columnLabel,
                               String string ); @Override void updateNull( int columnIndex ); @Override void updateNull( String columnLabel ); @Override void updateObject( int columnIndex,
                              Object x ); @Override void updateObject( String columnLabel,
                              Object x ); @Override void updateObject( int columnIndex,
                              Object x,
                              int scaleOrLength ); @Override void updateObject( String columnLabel,
                              Object x,
                              int scaleOrLength ); @Override void updateRef( int columnIndex,
                           Ref x ); @Override void updateRef( String columnLabel,
                           Ref x ); @Override void updateRow(); @Override void updateRowId( int columnIndex,
                             RowId x ); @Override void updateRowId( String columnLabel,
                             RowId x ); @Override void updateSQLXML( int columnIndex,
                              SQLXML xmlObject ); @Override void updateSQLXML( String columnLabel,
                              SQLXML xmlObject ); @Override void updateShort( int columnIndex,
                             short x ); @Override void updateShort( String columnLabel,
                             short x ); @Override void updateString( int columnIndex,
                              String x ); @Override void updateString( String columnLabel,
                              String x ); @Override void updateTime( int columnIndex,
                            Time x ); @Override void updateTime( String columnLabel,
                            Time x ); @Override void updateTimestamp( int columnIndex,
                                 Timestamp x ); @Override void updateTimestamp( String columnLabel,
                                 Timestamp x ); @Override boolean wasNull(); @Override boolean isWrapperFor( Class<?> iface ); @Override T unwrap( Class<T> iface );  }