]
Tom Jenkinson updated JBTM-2667:
--------------------------------
Fix Version/s: 5.next
JDBC Connection leak with Postgres
----------------------------------
Key: JBTM-2667
URL:
https://issues.jboss.org/browse/JBTM-2667
Project: JBoss Transaction Manager
Issue Type: Feature Request
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.