Class PGXAConnectionDelegator

  • All Implemented Interfaces:
    PGConnection, java.lang.AutoCloseable, java.sql.Connection, java.sql.Wrapper

    public class PGXAConnectionDelegator
    extends PGPooledConnectionDelegator
    Connection handle for PGXAConnection
    • Constructor Detail

      • PGXAConnectionDelegator

        public PGXAConnectionDelegator​(PGXAConnection owner,
                                       PGConnection delegator)
        Constructor
        Parameters:
        owner - The owner
        delegator - The delegator
    • Method Detail

      • commit

        public void commit()
                    throws java.sql.SQLException
        Specified by:
        commit in interface java.sql.Connection
        Overrides:
        commit in class PGPooledConnectionDelegator
        Throws:
        java.sql.SQLException
      • rollback

        public void rollback()
                      throws java.sql.SQLException
        Specified by:
        rollback in interface java.sql.Connection
        Overrides:
        rollback in class PGPooledConnectionDelegator
        Throws:
        java.sql.SQLException
      • rollback

        public void rollback​(java.sql.Savepoint savepoint)
                      throws java.sql.SQLException
        Specified by:
        rollback in interface java.sql.Connection
        Overrides:
        rollback in class PGPooledConnectionDelegator
        Throws:
        java.sql.SQLException
      • setAutoCommit

        public void setAutoCommit​(boolean autoCommit)
                           throws java.sql.SQLException
        Specified by:
        setAutoCommit in interface java.sql.Connection
        Overrides:
        setAutoCommit in class PGPooledConnectionDelegator
        Throws:
        java.sql.SQLException