[jboss-user] [JBoss Portal] - Re: Dashboard configuration - drag and drop

jssteux do-not-reply at jboss.com
Mon Feb 23 03:38:02 EST 2009


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#4212154

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




More information about the jboss-user mailing list