|
||||||||||
| 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
org.melati.poem.dbms.test.sql.ThrowingConnectionJdbc4
public abstract class ThrowingConnectionJdbc4
A JDBC4 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 | |
|---|---|
ThrowingConnectionJdbc4()
|
|
| Method Summary | ||
|---|---|---|
Array |
createArrayOf(String typeName,
Object[] elements)
|
|
Blob |
createBlob()
|
|
Clob |
createClob()
|
|
NClob |
createNClob()
|
|
SQLXML |
createSQLXML()
|
|
Struct |
createStruct(String typeName,
Object[] attributes)
|
|
Properties |
getClientInfo()
|
|
String |
getClientInfo(String name)
|
|
boolean |
isValid(int timeout)
|
|
boolean |
isWrapperFor(Class<?> iface)
|
|
void |
setClientInfo(Properties properties)
|
|
void |
setClientInfo(String name,
String value)
|
|
|
unwrap(Class<T> iface)
|
|
| Methods inherited from class org.melati.poem.dbms.test.sql.ThrowingConnectionJdbc3 |
|---|
clearWarnings, close, commit, createStatement, createStatement, createStatement, getAutoCommit, getCatalog, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap |
| 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 |
| Constructor Detail |
|---|
public ThrowingConnectionJdbc4()
| Method Detail |
|---|
public Array createArrayOf(String typeName,
Object[] elements)
throws SQLException
createArrayOf in interface ConnectionSQLExceptionConnection.createArrayOf(java.lang.String, java.lang.Object[])
public Blob createBlob()
throws SQLException
createBlob in interface ConnectionSQLExceptionConnection.createBlob()
public Clob createClob()
throws SQLException
createClob in interface ConnectionSQLExceptionConnection.createClob()
public NClob createNClob()
throws SQLException
createNClob in interface ConnectionSQLExceptionConnection.createNClob()
public SQLXML createSQLXML()
throws SQLException
createSQLXML in interface ConnectionSQLExceptionConnection.createSQLXML()
public Struct createStruct(String typeName,
Object[] attributes)
throws SQLException
createStruct in interface ConnectionSQLExceptionConnection.createStruct(java.lang.String, java.lang.Object[])
public Properties getClientInfo()
throws SQLException
getClientInfo in interface ConnectionSQLExceptionConnection.getClientInfo()
public String getClientInfo(String name)
throws SQLException
getClientInfo in interface ConnectionSQLExceptionConnection.getClientInfo(java.lang.String)
public boolean isValid(int timeout)
throws SQLException
isValid in interface ConnectionSQLExceptionConnection.isValid(int)
public void setClientInfo(Properties properties)
throws SQLClientInfoException
setClientInfo in interface ConnectionSQLClientInfoExceptionConnection.setClientInfo(java.util.Properties)
public void setClientInfo(String name,
String value)
throws SQLClientInfoException
setClientInfo in interface ConnectionSQLClientInfoExceptionConnection.setClientInfo(java.lang.String, java.lang.String)
public boolean isWrapperFor(Class<?> iface)
throws SQLException
isWrapperFor in interface WrapperSQLExceptionWrapper.isWrapperFor(java.lang.Class)
public <T> T unwrap(Class<T> iface)
throws SQLException
unwrap in interface WrapperSQLExceptionWrapper.unwrap(java.lang.Class)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||