[jboss-user] [JBoss Seam] - How to I cancel a FlushModeType.MANUAL Conversation?

emsa do-not-reply at jboss.com
Mon May 14 10:32:58 EDT 2007


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



More information about the jboss-user mailing list