anonymous wrote : 
  | If you want to manage transactions yourself (not a good idea most times) 
then lookup UserTransaction object from JNDI and use that. Dont use the 
transaction manager. It cant help you :)
  | 
I can get hold of the UserTransaction via JNDI as you mention, but is that any 
good to me? I want the SQL I am about to execute to be regarded as part of that 
same transaction that I just got hold of, but I doubt I can do that using the 
UserTransaction. That's why I was thinking I need to join in (using the XA code 
I posted) the existing transaction.

I've had another search for this "XA Wrapper for non-XA databases" but I can't 
find anything. I've found someone else asking the same question in another 
post, only to be told to "read the xxx FAQ" by Adrian at JBoss. Well I've read 
the FAQ and it doesn't help!

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to