Hello,
Here is a common way to create a transaction :
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.transaction.TransactionManager;
import javax.transaction.UserTransaction;
InitialContext ctx = new InitialContext();
UserTransaction tx;
tx = (UserTransaction) ctx.lookup("UserTransaction");
tx.begin();
...
tx.commit();
Jean-sébastien Steux
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212154#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...