public abstract class ThrowingConnectionJdbc3 extends Thrower implements Connection
Connection, decorated to throw an SQLException on command.TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Constructor and Description |
|---|
ThrowingConnectionJdbc3() |
shouldThrow, startThrowing, startThrowingAfter, stopThrowingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabort, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStruct, getClientInfo, getClientInfo, getNetworkTimeout, getSchema, isValid, setClientInfo, setClientInfo, setNetworkTimeout, setSchemaisWrapperFor, unwrappublic void clearWarnings()
throws SQLException
clearWarnings in interface ConnectionSQLExceptionConnection.clearWarnings()public void close()
throws SQLException
close in interface AutoCloseableclose in interface ConnectionSQLExceptionConnection.close()public void commit()
throws SQLException
commit in interface ConnectionSQLExceptionConnection.commit()public Statement createStatement() throws SQLException
createStatement in interface ConnectionSQLExceptionConnection.createStatement()public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
createStatement in interface ConnectionSQLExceptionConnection.createStatement(int, int)public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
createStatement in interface ConnectionSQLExceptionConnection.createStatement(int, int, int)public boolean getAutoCommit()
throws SQLException
getAutoCommit in interface ConnectionSQLExceptionConnection.getAutoCommit()public String getCatalog() throws SQLException
getCatalog in interface ConnectionSQLExceptionConnection.getCatalog()public int getHoldability()
throws SQLException
getHoldability in interface ConnectionSQLExceptionConnection.getHoldability()public DatabaseMetaData getMetaData() throws SQLException
getMetaData in interface ConnectionSQLExceptionConnection.getMetaData()public int getTransactionIsolation()
throws SQLException
getTransactionIsolation in interface ConnectionSQLExceptionConnection.getTransactionIsolation()public Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap in interface ConnectionSQLExceptionConnection.getTypeMap()public SQLWarning getWarnings() throws SQLException
getWarnings in interface ConnectionSQLExceptionConnection.getWarnings()public boolean isClosed()
throws SQLException
isClosed in interface ConnectionSQLExceptionConnection.isClosed()public boolean isReadOnly()
throws SQLException
isReadOnly in interface ConnectionSQLExceptionConnection.isReadOnly()public String nativeSQL(String sql) throws SQLException
nativeSQL in interface ConnectionSQLExceptionConnection.nativeSQL(java.lang.String)public CallableStatement prepareCall(String sql) throws SQLException
prepareCall in interface ConnectionSQLExceptionConnection.prepareCall(java.lang.String)public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareCall in interface ConnectionSQLExceptionConnection.prepareCall(java.lang.String, int, int)public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareCall in interface ConnectionSQLExceptionConnection.prepareCall(java.lang.String, int, int, int)public PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String)public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String, int)public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String, int[])public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String, java.lang.String[])public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String, int, int)public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String, int, int, int)public void releaseSavepoint(Savepoint savepoint) throws SQLException
releaseSavepoint in interface ConnectionSQLExceptionConnection.releaseSavepoint(java.sql.Savepoint)public void rollback()
throws SQLException
rollback in interface ConnectionSQLExceptionConnection.rollback()public void rollback(Savepoint savepoint) throws SQLException
rollback in interface ConnectionSQLExceptionConnection.rollback(java.sql.Savepoint)public void setAutoCommit(boolean autoCommit)
throws SQLException
setAutoCommit in interface ConnectionSQLExceptionConnection.setAutoCommit(boolean)public void setCatalog(String catalog) throws SQLException
setCatalog in interface ConnectionSQLExceptionConnection.setCatalog(java.lang.String)public void setHoldability(int holdability)
throws SQLException
setHoldability in interface ConnectionSQLExceptionConnection.setHoldability(int)public void setReadOnly(boolean readOnly)
throws SQLException
setReadOnly in interface ConnectionSQLExceptionConnection.setReadOnly(boolean)public Savepoint setSavepoint() throws SQLException
setSavepoint in interface ConnectionSQLExceptionConnection.setSavepoint()public Savepoint setSavepoint(String name) throws SQLException
setSavepoint in interface ConnectionSQLExceptionConnection.setSavepoint(java.lang.String)public void setTransactionIsolation(int level)
throws SQLException
setTransactionIsolation in interface ConnectionSQLExceptionConnection.setTransactionIsolation(int)public void setTypeMap(Map<String,Class<?>> map) throws SQLException
setTypeMap in interface ConnectionSQLExceptionConnection.setTypeMap(java.util.Map)Copyright © 2000–2015 PanEris. All rights reserved.