Development Documents
30-Sep-2021
Guide - IOM 3.4.8 Migration of Customization
Document Properties
Kbid
29G962
Added to KB
30-Sep-2021
Status
online
Product
IOM 3.4
Last Modified
30-Sep-2021
Public Access
everyone
Doc Type
Guidelines
Document Link
https://knowledge.intershop.com/kb/29G962

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 Website, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Home
Knowledge Base
User Manuals
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.