A couple of questions related to JBAS-5080, i.e. how connections behave if used either
side of a asynchronous transaction timeout.
Am I right that the expected behaviour of a connection handle obtained in a transaction
but subsequently used after that transaction has been rolled back on another thread, is
that it should behave as if closed? The JIRA is not too clear on what the actual fix was.
Now the more difficult one: what's the expected JCA behaviour when a Thread that has a
transaction context representing an aborted transaction, asks for a new connection? This
happens if a transaction timeouts and is rolled back in the background, then the
application logic tries to obtain a new connection. The new connection should be part of
the ongoing global tx, but that tx is dead. Hopefully the getConnection call will throw an
exception if the tx state is other than active?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195545#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...