|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.dbms.test.sql.Thrower org.melati.poem.dbms.test.sql.ThrowingConnectionJdbc3
public abstract class ThrowingConnectionJdbc3
A JDBC3 Connection
, decorated to throw an SQLException on command.
Field Summary |
---|
Fields inherited from interface java.sql.Connection |
---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Constructor Summary | |
---|---|
ThrowingConnectionJdbc3()
|
Methods inherited from class org.melati.poem.dbms.test.sql.Thrower |
---|
shouldThrow, startThrowing, startThrowingAfter, stopThrowing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.Connection |
---|
createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStruct, getClientInfo, getClientInfo, isValid, setClientInfo, setClientInfo |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Constructor Detail |
---|
public ThrowingConnectionJdbc3()
Method Detail |
---|
public void clearWarnings() throws SQLException
clearWarnings
in interface Connection
SQLException
Connection.clearWarnings()
public void close() throws SQLException
close
in interface Connection
SQLException
Connection.close()
public void commit() throws SQLException
commit
in interface Connection
SQLException
Connection.commit()
public Statement createStatement() throws SQLException
createStatement
in interface Connection
SQLException
Connection.createStatement()
public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
createStatement
in interface Connection
SQLException
Connection.createStatement(int, int)
public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
createStatement
in interface Connection
SQLException
Connection.createStatement(int, int, int)
public boolean getAutoCommit() throws SQLException
getAutoCommit
in interface Connection
SQLException
Connection.getAutoCommit()
public String getCatalog() throws SQLException
getCatalog
in interface Connection
SQLException
Connection.getCatalog()
public int getHoldability() throws SQLException
getHoldability
in interface Connection
SQLException
Connection.getHoldability()
public DatabaseMetaData getMetaData() throws SQLException
getMetaData
in interface Connection
SQLException
Connection.getMetaData()
public int getTransactionIsolation() throws SQLException
getTransactionIsolation
in interface Connection
SQLException
Connection.getTransactionIsolation()
public Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap
in interface Connection
SQLException
Connection.getTypeMap()
public SQLWarning getWarnings() throws SQLException
getWarnings
in interface Connection
SQLException
Connection.getWarnings()
public boolean isClosed() throws SQLException
isClosed
in interface Connection
SQLException
Connection.isClosed()
public boolean isReadOnly() throws SQLException
isReadOnly
in interface Connection
SQLException
Connection.isReadOnly()
public String nativeSQL(String sql) throws SQLException
nativeSQL
in interface Connection
SQLException
Connection.nativeSQL(java.lang.String)
public CallableStatement prepareCall(String sql) throws SQLException
prepareCall
in interface Connection
SQLException
Connection.prepareCall(java.lang.String)
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareCall
in interface Connection
SQLException
Connection.prepareCall(java.lang.String, int, int)
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareCall
in interface Connection
SQLException
Connection.prepareCall(java.lang.String, int, int, int)
public PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement
in interface Connection
SQLException
Connection.prepareStatement(java.lang.String)
public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
prepareStatement
in interface Connection
SQLException
Connection.prepareStatement(java.lang.String, int)
public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
prepareStatement
in interface Connection
SQLException
Connection.prepareStatement(java.lang.String, int[])
public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
prepareStatement
in interface Connection
SQLException
Connection.prepareStatement(java.lang.String, java.lang.String[])
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareStatement
in interface Connection
SQLException
Connection.prepareStatement(java.lang.String, int, int)
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareStatement
in interface Connection
SQLException
Connection.prepareStatement(java.lang.String, int, int, int)
public void releaseSavepoint(Savepoint savepoint) throws SQLException
releaseSavepoint
in interface Connection
SQLException
Connection.releaseSavepoint(java.sql.Savepoint)
public void rollback() throws SQLException
rollback
in interface Connection
SQLException
Connection.rollback()
public void rollback(Savepoint savepoint) throws SQLException
rollback
in interface Connection
SQLException
Connection.rollback(java.sql.Savepoint)
public void setAutoCommit(boolean autoCommit) throws SQLException
setAutoCommit
in interface Connection
SQLException
Connection.setAutoCommit(boolean)
public void setCatalog(String catalog) throws SQLException
setCatalog
in interface Connection
SQLException
Connection.setCatalog(java.lang.String)
public void setHoldability(int holdability) throws SQLException
setHoldability
in interface Connection
SQLException
Connection.setHoldability(int)
public void setReadOnly(boolean readOnly) throws SQLException
setReadOnly
in interface Connection
SQLException
Connection.setReadOnly(boolean)
public Savepoint setSavepoint() throws SQLException
setSavepoint
in interface Connection
SQLException
Connection.setSavepoint()
public Savepoint setSavepoint(String name) throws SQLException
setSavepoint
in interface Connection
SQLException
Connection.setSavepoint(java.lang.String)
public void setTransactionIsolation(int level) throws SQLException
setTransactionIsolation
in interface Connection
SQLException
Connection.setTransactionIsolation(int)
public void setTypeMap(Map<String,Class<?>> map) throws SQLException
setTypeMap
in interface Connection
SQLException
Connection.setTypeMap(java.util.Map)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |