Is it possible to have multiple atomic transactions in a single Seam conversation, so that transactions already flushed with em.flush() will persist in database even if runtime exception is thrown before conversation complets?
proc main() {
Conversation.setFlushMode(Manual);
proc A(); <--- mods here should persist even though exception thrown in B().
proc B();
}
proc A() {
update database...
em.flush();
}
proc B() {
update database...
Runtime exception occurs here...
em.flush();
}