com.vaadin.data.util.sqlcontainer.connection.

Interface JDBCConnectionPool

    • Method Summary

      All Methods
      Modifier and Type Method Description
      void destroy()

      Destroys the connection pool: close() is called an all the connections in the pool, whether available or reserved.

      void releaseConnection​(Connection conn)

      Releases a connection that was retrieved earlier.

      Connection reserveConnection()

      Retrieves a connection.

    • Method Detail

      • releaseConnection

        void releaseConnection​(Connection conn)

        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.

        Parameters:

        conn - Connection to be released

      • destroy

        void destroy()

        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'.