public abstract class ThrowingConnectionJdbc4 extends ThrowingConnectionJdbc3 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 |
|---|
ThrowingConnectionJdbc4() |
| Modifier and Type | Method and Description |
|---|---|
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) |
<T> T |
unwrap(Class<T> iface) |
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, setTypeMapshouldThrow, startThrowing, startThrowingAfter, stopThrowingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabort, clearWarnings, close, commit, createStatement, createStatement, createStatement, getAutoCommit, getCatalog, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMappublic 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)Copyright © 2000–2015 PanEris. All rights reserved.