I am using jboss-seam-1.2.1.GA/JPA example for testing the
@ApplicationException(rollback=true). The following is my code. The problem is
the user will store in DB without rollback. Why?
em.persist(user);
facesMessages.add("Successfully registered as #{user.username}");
registered = true;
throw new Error();
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048140#4048140
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048140
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user