-
Enhancement
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
In my internal testing with Hibernate, I hit a problem with IronJacamar throwing "javax.resource.ResourceException: IJ000459: Transaction is not active" error when called to get a database connection from pool from a thread that has an active transaction marked for rollback only.
The Hibernate jira is https://hibernate.atlassian.net/browse/HHH-12472, which we are talking about changing. As well as WildFly jira https://issues.jboss.org/browse/WFLY-10229 for a related bug.
Independent of the HHH-12472 + WFLY-10229 issues, I think it would be useful if there was a data source deployment option (in WildFly standalone*.xml) or system property, for disabling the IJ000459 check for rollback only transactions, as the IJ000459 check is not always expected.