@Transaction is for use with Seam managed POJOs - so if you are using them, annotate the method.
anonymous wrote : I change that save() method to rollback transaction to prevent above problem, but it throws this exception: | | java.lang.IllegalStateException: Illegal to call this method from injected, managed EntityManager | | what is wrong with this? Thats not how you control a CMT. Read a book or some docs on the net about how to control CMT in EJB3. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097869#4097869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097869 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
