Hi nickarls

Read chapter "11.3.2. Extended session and automatic versioning" of Seam 
Reference Manual Version 1.2.1 GA.

You can chance the flushMode of a session by calling:


  | Session s = (SessionImpl) entityManager.getDelegate();
  | s.setFlushMode(FlushMode.NEVER);
  | 

This prevents seam from closing the session automatically after the request 
finished

But you have to flush an close the session manually!


  | s.flush();
  | s.close();
  | 

Greetings Ralph

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089576
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to