@Test public void shouldReturnDefaultForFetchDirection() throws SQLException { assertThat(stmt.getFetchDirection(), is(ResultSet.FETCH_FORWARD)); }
@Override public int getFetchDirection() throws SQLException { notClosed(); return fetchDirection; }
JcrStatement implements Statement { @Override public int getFetchDirection() throws SQLException { notClosed(); return fetchDirection; } }
JcrStatement implements Statement { @Override public int getFetchDirection() throws SQLException { notClosed(); return fetchDirection; } JcrStatement( JcrConnection connection ); }
JcrStatement implements Statement { @Override public int getFetchDirection() throws SQLException { notClosed(); return fetchDirection; } JcrStatement( JcrConnection connection ); void setJcrSqlLanguage( String jcrSQL ); @Override int getFetchSize(); @Override void setFetchSize( int rows ); @Override int getFetchDirection(); @Override void setFetchDirection( int direction ); @Override int getMaxFieldSize(); @Override void setMaxFieldSize( int max ); @Override int getMaxRows(); @Override void setMaxRows( int max ); @Override int getQueryTimeout(); @Override void setQueryTimeout( int seconds ); @Override boolean isPoolable(); @Override void setPoolable( boolean poolable ); @Override Connection getConnection(); @Override void cancel(); @Override void clearWarnings(); @Override SQLWarning getWarnings(); @Override boolean isClosed(); @Override void close(); @Override int executeUpdate( String sql ); @Override int executeUpdate( String sql,
                              int autoGeneratedKeys ); @Override int executeUpdate( String sql,
                              int[] columnIndexes ); @Override int executeUpdate( String sql,
                              String[] columnNames ); @Override void setCursorName( String name ); @Override int getUpdateCount(); @Override void addBatch( String sql ); @Override void clearBatch(); @Override int[] executeBatch(); @Override boolean execute( String sql ); @Override boolean execute( String sql,
                            int autoGeneratedKeys ); @Override boolean execute( String sql,
                            int[] columnIndexes ); @Override boolean execute( String sql,
                            String[] columnNames ); @Override ResultSet executeQuery( String sql ); @Override ResultSet getGeneratedKeys(); @Override boolean getMoreResults(); @Override boolean getMoreResults( int current ); @Override ResultSet getResultSet(); @Override int getResultSetConcurrency(); @Override int getResultSetHoldability(); @Override int getResultSetType(); @Override void setEscapeProcessing( boolean enable ); @Override boolean isWrapperFor( Class<?> iface ); @Override T unwrap( Class<T> iface ); @Override void closeOnCompletion(); @Override boolean isCloseOnCompletion(); }
JcrStatement implements Statement { @Override public int getFetchDirection() throws SQLException { notClosed(); return fetchDirection; } JcrStatement( JcrConnection connection ); void setJcrSqlLanguage( String jcrSQL ); @Override int getFetchSize(); @Override void setFetchSize( int rows ); @Override int getFetchDirection(); @Override void setFetchDirection( int direction ); @Override int getMaxFieldSize(); @Override void setMaxFieldSize( int max ); @Override int getMaxRows(); @Override void setMaxRows( int max ); @Override int getQueryTimeout(); @Override void setQueryTimeout( int seconds ); @Override boolean isPoolable(); @Override void setPoolable( boolean poolable ); @Override Connection getConnection(); @Override void cancel(); @Override void clearWarnings(); @Override SQLWarning getWarnings(); @Override boolean isClosed(); @Override void close(); @Override int executeUpdate( String sql ); @Override int executeUpdate( String sql,
                              int autoGeneratedKeys ); @Override int executeUpdate( String sql,
                              int[] columnIndexes ); @Override int executeUpdate( String sql,
                              String[] columnNames ); @Override void setCursorName( String name ); @Override int getUpdateCount(); @Override void addBatch( String sql ); @Override void clearBatch(); @Override int[] executeBatch(); @Override boolean execute( String sql ); @Override boolean execute( String sql,
                            int autoGeneratedKeys ); @Override boolean execute( String sql,
                            int[] columnIndexes ); @Override boolean execute( String sql,
                            String[] columnNames ); @Override ResultSet executeQuery( String sql ); @Override ResultSet getGeneratedKeys(); @Override boolean getMoreResults(); @Override boolean getMoreResults( int current ); @Override ResultSet getResultSet(); @Override int getResultSetConcurrency(); @Override int getResultSetHoldability(); @Override int getResultSetType(); @Override void setEscapeProcessing( boolean enable ); @Override boolean isWrapperFor( Class<?> iface ); @Override T unwrap( Class<T> iface ); @Override void closeOnCompletion(); @Override boolean isCloseOnCompletion();  }