Class 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.
    Author:
    Aaron Mulder (ammulder@chariotsolutions.com), Csaba Nagy (ncsaba@yahoo.com)
    See Also:
    PGConnectionPoolDataSource
    • Constructor Detail

      • 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)