|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.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 ConnectionSQLExceptionConnection.clearWarnings()
public void close()
throws SQLException
close 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)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||