Document Properties
Kbid
29G962
Last Modified
30-Sep-2021
Added to KB
30-Sep-2021
Public Access
Everyone
Status
Online
Doc Type
Guidelines, Concepts & Cookbooks
Product
IOM 3.4

Guide - IOM 3.4.8 Migration of Customization

Product Version

3.4.8.0

Product To Version

3.4.8.0
Status

final

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

Customer Support
Knowledge Base
Product Resources
Tickets