From: David J. <dav...@di...> - 2001-11-30 15:54:18
|
I think you look up the user transaction itself, bound to "UserTransaction" david jencks On 2001.11.30 10:02:49 -0500 Maurice le Rutte wrote: > In my JUnit tests I want to create a UserTransaction in the setUp() > method > and have it rollback() in the tearDown() method so that I can test > without > having to re-populate the database if I change data. > > I've searched high and low, but I can't find how to do it.... Under what > name is the transaction manager bound in the JNDI context? > > The JNDI view claims there is a transaction manager bound in the Java > namespace: > java: Namespace > +- TransactionManager (class: org.jboss.tm.TxManager) > > however, context.lookup("java:TransactionManager"); doesn't work. > > Maurice. > > > > > _______________________________________________ > JBoss-user mailing list > JBo...@li... > https://lists.sourceforge.net/lists/listinfo/jboss-user > > |