[jboss-user] [JBoss Seam] - PersistenceContext untouch on destory
do-not-reply at jboss.com
Wed May 2 15:26:34 EDT 2007
I have a persistence context that I wish to only be created within a nested conversation and destroyed when that nested conversation ends.
However, after my nested conversation ends and my PersistenceContext destroyed it is being recreated in my outer conversation when PassivatedEntity.createPassivatedEntity iterates through all of the "touched" PersistenceContexts.
This could be fixed by "untouching" PersistenceContexts when in the @Destory method of ManagedPersistenceContext.
Does this seem like a reasonable thought or is there a particular reason why PersistenceContexts aren't untouched on @Destory?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042579#4042579
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042579
More information about the jboss-user