Class PGPooledConnection

java.lang.Object
org.postgresql.ds.PGPooledConnection
All Implemented Interfaces:
PooledConnection
Direct Known Subclasses:
PGXAConnection

public class PGPooledConnection extends Object implements PooledConnection
PostgreSQL implementation of the PooledConnection interface. This shouldn't be used directly, as the pooling client should just interact with the ConnectionPool instead.
See Also:
  • Constructor Details

    • PGPooledConnection

      public PGPooledConnection(Connection con, boolean autoCommit, boolean isXA)
      Creates a new PooledConnection representing the specified physical connection.
      Parameters:
      con - connection
      autoCommit - whether to autocommit
      isXA - whether connection is a XA connection
    • PGPooledConnection

      public PGPooledConnection(Connection con, boolean autoCommit)
  • Method Details