public class PGXAConnectionDelegator extends PGPooledConnectionDelegator
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
Constructor and Description |
---|
PGXAConnectionDelegator(PGXAConnection owner,
PGConnection delegator)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
commit() |
boolean |
equals(Object o) |
int |
hashCode() |
void |
rollback() |
void |
rollback(Savepoint savepoint) |
void |
setAutoCommit(boolean autoCommit) |
abort, addNotificationListener, addNotificationListener, addNotificationListener, clearWarnings, close, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isServerMinimumVersion, isStrictMode, isValid, isWrapperFor, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, removeNotificationListener, removeNotificationListener, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setStrictMode, setTransactionIsolation, setTypeMap, unwrap
public PGXAConnectionDelegator(PGXAConnection owner, PGConnection delegator)
owner
- The ownerdelegator
- The delegatorpublic void commit() throws SQLException
commit
in interface Connection
commit
in class PGPooledConnectionDelegator
SQLException
public void rollback() throws SQLException
rollback
in interface Connection
rollback
in class PGPooledConnectionDelegator
SQLException
public void rollback(Savepoint savepoint) throws SQLException
rollback
in interface Connection
rollback
in class PGPooledConnectionDelegator
SQLException
public void setAutoCommit(boolean autoCommit) throws SQLException
setAutoCommit
in interface Connection
setAutoCommit
in class PGPooledConnectionDelegator
SQLException
public int hashCode()
hashCode
in class PGPooledConnectionDelegator
public boolean equals(Object o)
equals
in class PGPooledConnectionDelegator
Copyright © 2013-2015 impossibl.com. All Rights Reserved.