[jboss-user] [JCA/JBoss] - Re: Opening connection from a marked rollback tx

vickyk do-not-reply at jboss.com
Wed Nov 14 07:16:10 EST 2007


"oglueck" wrote : 
  | 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.
  | 
This should be checked , if you are enabling track-connection-by-tx then every time you try to get the connection from the Pool the pool should return you the new handle to the same existing ManagedConnection.

anonymous wrote : 
  | But what's wrong with modifying the connection manager to allow this? This should perfectly be legal as I read the specs.
Playing with the CM should be the last option , it is trivial thing to do .

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104509



More information about the jboss-user mailing list