Package org.h2.jdbcx

Class JdbcXAConnection.PooledJdbcConnection

    • Field Detail

      • isClosed

        private boolean isClosed
    • Constructor Detail

      • PooledJdbcConnection

        public PooledJdbcConnection​(JdbcConnection conn)
    • Method Detail

      • close

        public void close()
                   throws java.sql.SQLException
        Description copied from class: JdbcConnection
        Closes this connection. All open statements, prepared statements and result sets that where created by this connection become invalid after calling this method. If there is an uncommitted transaction, it will be rolled back.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.sql.Connection
        Overrides:
        close in class JdbcConnection
        Throws:
        java.sql.SQLException
      • isClosed

        public boolean isClosed()
                         throws java.sql.SQLException
        Description copied from class: JdbcConnection
        Returns true if this connection has been closed.
        Specified by:
        isClosed in interface java.sql.Connection
        Overrides:
        isClosed in class JdbcConnection
        Returns:
        true if close was called
        Throws:
        java.sql.SQLException