Package com.impossibl.postgres.jdbc.xa
Class PGXAConnectionDelegator
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PGPooledConnectionDelegator
-
- com.impossibl.postgres.jdbc.xa.PGXAConnectionDelegator
-
- All Implemented Interfaces:
PGConnection,java.lang.AutoCloseable,java.sql.Connection,java.sql.Wrapper
public class PGXAConnectionDelegator extends PGPooledConnectionDelegator
Connection handle for PGXAConnection
-
-
Constructor Summary
Constructors Constructor Description PGXAConnectionDelegator(PGXAConnection owner, PGConnection delegator)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit()booleanequals(java.lang.Object o)inthashCode()voidrollback()voidrollback(java.sql.Savepoint savepoint)voidsetAutoCommit(boolean autoCommit)-
Methods inherited from class com.impossibl.postgres.jdbc.PGPooledConnectionDelegator
abort, addNotificationListener, addNotificationListener, addNotificationListener, clearWarnings, close, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getDefaultFetchSize, 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, resolveType, setCatalog, setClientInfo, setClientInfo, setDefaultFetchSize, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setStrictMode, setTransactionIsolation, setTypeMap, unwrap
-
-
-
-
Constructor Detail
-
PGXAConnectionDelegator
public PGXAConnectionDelegator(PGXAConnection owner, PGConnection delegator)
Constructor- Parameters:
owner- The ownerdelegator- The delegator
-
-
Method Detail
-
commit
public void commit() throws java.sql.SQLException- Specified by:
commitin interfacejava.sql.Connection- Overrides:
commitin classPGPooledConnectionDelegator- Throws:
java.sql.SQLException
-
rollback
public void rollback() throws java.sql.SQLException- Specified by:
rollbackin interfacejava.sql.Connection- Overrides:
rollbackin classPGPooledConnectionDelegator- Throws:
java.sql.SQLException
-
rollback
public void rollback(java.sql.Savepoint savepoint) throws java.sql.SQLException- Specified by:
rollbackin interfacejava.sql.Connection- Overrides:
rollbackin classPGPooledConnectionDelegator- Throws:
java.sql.SQLException
-
setAutoCommit
public void setAutoCommit(boolean autoCommit) throws java.sql.SQLException- Specified by:
setAutoCommitin interfacejava.sql.Connection- Overrides:
setAutoCommitin classPGPooledConnectionDelegator- Throws:
java.sql.SQLException
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPGPooledConnectionDelegator
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classPGPooledConnectionDelegator
-
-