Document Tree
Document Properties
Kbid
29G962
Last Modified
30-Sep-2021
Added to KB
30-Sep-2021
Public Access
Everyone
Status
Online
Doc Type
Guidelines
Product
IOM 3.4
Guide - IOM 3.4.8 Migration of Customization

DatabaseDefinitions.getConnection Now Uses Connection Pool

Due to performance issues in some specific setups, the internal logic in DatabaseDefinitions.getConnection (persistence-common module) has been changed. Instead of creating a new connection for every call from scratch, connections are obtained from the global connection pool to Postgres. The connection pool is backed by an XA Datasource, hence several method calls related to transaction management are blocked.

If you use DatabaseDefinitions.getConnection to obtain new connections, please make sure that you do not use the following methods on the returned java.sql.Connection:

  • setAutocommit
  • commit
  • rollback
  • setSavepoint
Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.