[jboss-user] [JBoss Seam] - Re: Seam + Ajax4JSF

fernando_jmt do-not-reply at jboss.com
Mon Aug 13 12:06:50 EDT 2007


If you are using a conversation you can start it using manual flush mode.


  | @Begin(flushMode = FlushModeType.MANUAL)
  |     public String select(User instance) {
  |        user = em.find....
  |        return result;
  |     }
  | 
  | 
  |     @End
  |     public String create() {
  |         em.merge(user);
  |         em.flush();
  |         return result;
  |     }
  | 
  | 
  | 

HTH.

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

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



More information about the jboss-user mailing list