]
Issue was automatically transitioned when Tom Jenkinson created pull request #1007 in
GitHub
--------------------------------------------------------------------------------------------
Status: Pull Request Sent (was: Open)
JDBC Connection leak with Postgres
----------------------------------
Key: JBTM-2667
URL:
https://issues.jboss.org/browse/JBTM-2667
Project: JBoss Transaction Manager
Issue Type: Bug
Components: JTA
Affects Versions: 5.3.2.Final
Reporter: Alexis Hassler
Assignee: Tom Jenkinson
Fix For: 5.next
When using Narayana's JDBC TransactionalDriver with a Postgres XA datasource, the
connections are never closed.
The problem can be workarounded by adding a modifier :
{code:java}
ModifierFactory.putModifier ("postgresql native driver", -1, -1,
PsqlConnectionModifier.class.getName());
{code}
With a modifier, the close method is called on the XAConnection object, with no modifier
it's called on the Connection object.