hello,
i have ran into a situation that confuses me: user begins the use-case, long running conversation is started, some kind of business is done and user hits submit. now, last lines of the code are:
em.flush(); // seam-managed pc, manual flush mode
destroy(); // annotated with @End @Remove @Destroy
and user is redirected. however, if i hit back button and submit again same persistence context is inherited, same instance of conversation bean is used and entities are updated. isn't this a place for NoConversationException?
thanks
somewhat better this way
em.flush(); // seam-managed pc, manual flush mode destroy(); // annotated with @End @Remove @Destroy