[jboss-user] [JBoss Seam] - Re: Pb Initializing database on app startup with postInitial

christian.bauer@jboss.com do-not-reply at jboss.com
Thu Sep 6 10:47:57 EDT 2007

em.getTransaction() is for resource-local transaction demarcation, i.e. Java SE. 

In Java EE you need to use JTA, either through the javax.transaction.UserTransaction API (Seam has a wrapper component, or do a JNDI lookup) or through CMT on an EJB.

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

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

More information about the jboss-user mailing list