[jboss-user] [JBoss Seam] - Re: Merging objects problems.

c_eric_ray do-not-reply at jboss.com
Fri Aug 25 09:19:38 EDT 2006


"mrohad" wrote : question regarding PersistenceContextType.EXTENDED
  | is it possible to explictly deattach the Entities some how?
  | 
  | I am selecting the entitybeans I want ,then showing them and their relationship entitybeans  in a JSF table ,then I would like to store them in a cache and deattache them , is it possible?
  | 

yes. call em.clear(); 

from the API docs...
anonymous wrote : 
  | clear() 
  |           Clear the persistence context, causing all managed entities to become detached.
  | 

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

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



More information about the jboss-user mailing list