We heavily rely on XA as multiple resource adapters are involved in a tx. Using 
local or no-tx connections is absolutely no option. And we already use 
track-connection-by-tx because Oracle connections are not capable of sharing 
the same connection with multiple XA transactions.

Actually the thing is, I don't know why a new connection is opened by Hibernate 
in this case and why it doesn't use an existing one. Because there should 
certainly be at least one free connection available that has already been used 
with this tx. It may be a bug in Hibernate, but I am completely unsure.

But what's wrong with modifying the connection manager to allow this? This 
should perfectly be legal as I read the specs.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103480#4103480

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103480
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to