You would need to do:
anonymous wrote : public String delete() {
|
| try {
| em.remove(anEntitiy);
| em.flush();
| } catch (Exception ex) {
| ctx.setRollbackOnly();
| ...addMessage("Deletion failed!");
| }
| return "finished";
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962557#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...