dcsimg
How to get a UserTransaction interface?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Richard_Zhu
Posted On:   Wednesday, April 11, 2001 08:06 AM

I tried context.lookup("java:comp/UserTransaction")
etc, it threw NameNotFoundException.
What else do I need to do? Add something
special in the jndi context?

Re: How to get a UserTransaction interface?

Posted By:   Jeevie_S  
Posted On:   Tuesday, November 27, 2001 12:46 PM

try using
UserTransaction tx = (javax.transaction.UserTransaction)ctx.lookup(
"javax.transaction.UserTransaction").


Hope it helps.
About | Sitemap | Contact