Is it possible to cancel/evict changes made to the current em when @End'ing a 
nested Conversation?

Typically I have two methods save() and cancel() on my nested 
Conversation-Components on save I do em.flush() but on cancel() I need to 
"rollback" any changes.

Currently I loop through all entities and do em.refresh() on them but this 
seems a awkward - is there any better way to do this?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045486
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to