Class J2EEConnectionPool

    • Constructor Detail

      • J2EEConnectionPool

        public J2EEConnectionPool​(DataSource dataSource)
        Deprecated.
      • J2EEConnectionPool

        public J2EEConnectionPool​(String dataSourceJndiName)
        Deprecated.
    • Method Detail

      • releaseConnection

        public void releaseConnection​(Connection conn)
        Deprecated.
        Description copied from interface: JDBCConnectionPool
        Releases a connection that was retrieved earlier. Note that depending on implementation, the transaction possibly open in the connection may or may not be rolled back.
        Specified by:
        releaseConnection in interface JDBCConnectionPool
        Parameters:
        conn - Connection to be released
      • destroy

        public void destroy()
        Deprecated.
        Description copied from interface: JDBCConnectionPool
        Destroys the connection pool: close() is called an all the connections in the pool, whether available or reserved. This method was added to fix PostgreSQL -related issues with connections that were left hanging 'idle'.
        Specified by:
        destroy in interface JDBCConnectionPool