@Test public void shouldCallRollback() throws SQLException { conn.rollback(); }
@Override public void rollback() throws SQLException { notClosed(); try { this.getRepositoryDelegate().rollback(); } catch (RepositoryException e) { throw new SQLException(e.getLocalizedMessage()); } }
JcrConnection implements Connection { @Override public void rollback() throws SQLException { notClosed(); try { this.getRepositoryDelegate().rollback(); } catch (RepositoryException e) { throw new SQLException(e.getLocalizedMessage()); } } }
JcrConnection implements Connection { @Override public void rollback() throws SQLException { notClosed(); try { this.getRepositoryDelegate().rollback(); } catch (RepositoryException e) { throw new SQLException(e.getLocalizedMessage()); } } JcrConnection( RepositoryDelegate jcrDelegate,
                          DriverInfo driverInfo ); }
JcrConnection implements Connection { @Override public void rollback() throws SQLException { notClosed(); try { this.getRepositoryDelegate().rollback(); } catch (RepositoryException e) { throw new SQLException(e.getLocalizedMessage()); } } JcrConnection( RepositoryDelegate jcrDelegate,
                          DriverInfo driverInfo ); RepositoryDelegate getRepositoryDelegate(); @Override boolean isReadOnly(); @Override void setReadOnly( boolean readOnly ); @Override boolean isValid( int timeout ); @Override void close(); @Override boolean isClosed(); @Override void commit(); @Override void rollback(); @Override void rollback( Savepoint savepoint ); @Override void clearWarnings(); @Override SQLWarning getWarnings(); @Override boolean getAutoCommit(); @Override void setAutoCommit( boolean autoCommit ); @Override int getTransactionIsolation(); @Override void setTransactionIsolation( int level ); @Override Savepoint setSavepoint(); @Override Savepoint setSavepoint( String name ); @Override void releaseSavepoint( Savepoint savepoint ); @Override String getCatalog(); @Override void setCatalog( String catalog ); @Override Properties getClientInfo(); @Override String getClientInfo( String name ); @Override void setClientInfo( Properties properties ); @Override void setClientInfo( String name,
                               String value ); @Override int getHoldability(); @Override void setHoldability( int holdability ); @Override DatabaseMetaData getMetaData(); @Override Map<String, Class<?>> getTypeMap(); @Override void setTypeMap( Map<String, Class<?>> map ); @Override String nativeSQL( String sql ); @SuppressWarnings( "unused" ) @Override Statement createStatement(); @Override Statement createStatement( int resultSetType,
                                      int resultSetConcurrency ); @Override Statement createStatement( int resultSetType,
                                      int resultSetConcurrency,
                                      int resultSetHoldability ); @Override PreparedStatement prepareStatement( String sql ); @Override PreparedStatement prepareStatement( String sql,
                                               int autoGeneratedKeys ); @Override PreparedStatement prepareStatement( String sql,
                                               int[] columnIndexes ); @Override PreparedStatement prepareStatement( String sql,
                                               String[] columnNames ); @Override PreparedStatement prepareStatement( String sql,
                                               int resultSetType,
                                               int resultSetConcurrency ); @Override PreparedStatement prepareStatement( String sql,
                                               int resultSetType,
                                               int resultSetConcurrency,
                                               int resultSetHoldability ); @Override CallableStatement prepareCall( String sql ); @Override CallableStatement prepareCall( String sql,
                                          int resultSetType,
                                          int resultSetConcurrency ); @Override CallableStatement prepareCall( String sql,
                                          int resultSetType,
                                          int resultSetConcurrency,
                                          int resultSetHoldability ); @Override Array createArrayOf( String typeName,
                                Object[] elements ); @Override Blob createBlob(); @Override Clob createClob(); @Override NClob createNClob(); @Override SQLXML createSQLXML(); @Override Struct createStruct( String typeName,
                                Object[] attributes ); @Override boolean isWrapperFor( Class<?> iface ); @Override T unwrap( Class<T> iface ); @Override void setSchema( String schema ); @Override String getSchema(); @Override void abort( Executor executor ); @Override void setNetworkTimeout( Executor executor,
                                   int milliseconds ); @Override int getNetworkTimeout(); }
JcrConnection implements Connection { @Override public void rollback() throws SQLException { notClosed(); try { this.getRepositoryDelegate().rollback(); } catch (RepositoryException e) { throw new SQLException(e.getLocalizedMessage()); } } JcrConnection( RepositoryDelegate jcrDelegate,
                          DriverInfo driverInfo ); RepositoryDelegate getRepositoryDelegate(); @Override boolean isReadOnly(); @Override void setReadOnly( boolean readOnly ); @Override boolean isValid( int timeout ); @Override void close(); @Override boolean isClosed(); @Override void commit(); @Override void rollback(); @Override void rollback( Savepoint savepoint ); @Override void clearWarnings(); @Override SQLWarning getWarnings(); @Override boolean getAutoCommit(); @Override void setAutoCommit( boolean autoCommit ); @Override int getTransactionIsolation(); @Override void setTransactionIsolation( int level ); @Override Savepoint setSavepoint(); @Override Savepoint setSavepoint( String name ); @Override void releaseSavepoint( Savepoint savepoint ); @Override String getCatalog(); @Override void setCatalog( String catalog ); @Override Properties getClientInfo(); @Override String getClientInfo( String name ); @Override void setClientInfo( Properties properties ); @Override void setClientInfo( String name,
                               String value ); @Override int getHoldability(); @Override void setHoldability( int holdability ); @Override DatabaseMetaData getMetaData(); @Override Map<String, Class<?>> getTypeMap(); @Override void setTypeMap( Map<String, Class<?>> map ); @Override String nativeSQL( String sql ); @SuppressWarnings( "unused" ) @Override Statement createStatement(); @Override Statement createStatement( int resultSetType,
                                      int resultSetConcurrency ); @Override Statement createStatement( int resultSetType,
                                      int resultSetConcurrency,
                                      int resultSetHoldability ); @Override PreparedStatement prepareStatement( String sql ); @Override PreparedStatement prepareStatement( String sql,
                                               int autoGeneratedKeys ); @Override PreparedStatement prepareStatement( String sql,
                                               int[] columnIndexes ); @Override PreparedStatement prepareStatement( String sql,
                                               String[] columnNames ); @Override PreparedStatement prepareStatement( String sql,
                                               int resultSetType,
                                               int resultSetConcurrency ); @Override PreparedStatement prepareStatement( String sql,
                                               int resultSetType,
                                               int resultSetConcurrency,
                                               int resultSetHoldability ); @Override CallableStatement prepareCall( String sql ); @Override CallableStatement prepareCall( String sql,
                                          int resultSetType,
                                          int resultSetConcurrency ); @Override CallableStatement prepareCall( String sql,
                                          int resultSetType,
                                          int resultSetConcurrency,
                                          int resultSetHoldability ); @Override Array createArrayOf( String typeName,
                                Object[] elements ); @Override Blob createBlob(); @Override Clob createClob(); @Override NClob createNClob(); @Override SQLXML createSQLXML(); @Override Struct createStruct( String typeName,
                                Object[] attributes ); @Override boolean isWrapperFor( Class<?> iface ); @Override T unwrap( Class<T> iface ); @Override void setSchema( String schema ); @Override String getSchema(); @Override void abort( Executor executor ); @Override void setNetworkTimeout( Executor executor,
                                   int milliseconds ); @Override int getNetworkTimeout(); static final String JCR_SQL2; @SuppressWarnings( "deprecation" )
    static final String JCR_SQL; }