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: