[jboss-user] [JBoss Seam] - Re: persist() / remove() at end of long running conversation

fjalvingh do-not-reply at jboss.com
Mon Jul 16 08:02:15 EDT 2007


So to be complete I required 2 fixes: the one above to Hibernate plus a fix to ConversationInterceptor as follows:

  | {
  |     setFlushMode(method); 	// JAL FlushMode should be set BEFORE we call the method!?
  |     Object result = invocation.proceed();   
  |     beginConversationIfNecessary(method, result);
  |     endConversationIfNecessary(method, result);
  |     return result;
  | }
  | 
I have also added this to JIRA as a bug.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064502



More information about the jboss-user mailing list