hi, in an other topic i asked amost the same.. others offered me to use @resource annotation, or sg like that, but before that i do a simple jndi lookup to get the entitymanager. You have to put some properties into the persistence.xml jndiname or sg, and after you can get the manager. Please take care that your transaction is works perfectly! I tested it only once, and when i throw an exception during the callback method, it seems that stoped the transaction.
lazlo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979797#3979797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979797 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
