|
||||||||||
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 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 Connection
SQLException
Connection.createArrayOf(java.lang.String, java.lang.Object[])
public Blob createBlob() throws SQLException
createBlob
in interface Connection
SQLException
Connection.createBlob()
public Clob createClob() throws SQLException
createClob
in interface Connection
SQLException
Connection.createClob()
public NClob createNClob() throws SQLException
createNClob
in interface Connection
SQLException
Connection.createNClob()
public SQLXML createSQLXML() throws SQLException
createSQLXML
in interface Connection
SQLException
Connection.createSQLXML()
public Struct createStruct(String typeName, Object[] attributes) throws SQLException
createStruct
in interface Connection
SQLException
Connection.createStruct(java.lang.String, java.lang.Object[])
public Properties getClientInfo() throws SQLException
getClientInfo
in interface Connection
SQLException
Connection.getClientInfo()
public String getClientInfo(String name) throws SQLException
getClientInfo
in interface Connection
SQLException
Connection.getClientInfo(java.lang.String)
public boolean isValid(int timeout) throws SQLException
isValid
in interface Connection
SQLException
Connection.isValid(int)
public void setClientInfo(Properties properties) throws SQLClientInfoException
setClientInfo
in interface Connection
SQLClientInfoException
Connection.setClientInfo(java.util.Properties)
public void setClientInfo(String name, String value) throws SQLClientInfoException
setClientInfo
in interface Connection
SQLClientInfoException
Connection.setClientInfo(java.lang.String, java.lang.String)
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
Wrapper.isWrapperFor(java.lang.Class)
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
Wrapper.unwrap(java.lang.Class)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |