Home » Search

About detached

61-70 of 154Refresh
JDO Doc
6

postDetach(event)

after the detached copy is made. It is called after the method DetachCallback.jdoPreDetach is called on the detached instance. Parameters: event - the detach event. Since: JDO 2.0
JDO Doc
6

preAttach(event)

) This method is called before a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method. The source instance is the detached instance. This method is called before the corresponding AttachCallback.jdoPreAttach on the detached instance. Parameters: event - the attach event. Since: JDO 2.0
JDO Doc
6

preDetach(event)

the detached copy is made. It is called before the method DetachCallback.jdoPreDetach is called on the instance to be detached. Parameters: event - the detach event. Since: JDO 2.0
JDO Doc
6

setDetachmentOptions(options)

Method javax.jdo.FetchPlan FetchPlan setDetachmentOptions(   int options ) Set options to be used during detachment. Options are DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS. Parameters: options - Since: JDO 2.0
Issue
6

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

are becoming detached. http://www.objectdb.com/java/jpa/persistence/detach I can't find out how to test where an entity is detached. http://www.objectdb.com/api/java/jpa/PersistenceUtil Does not seem to provide a method for testing this. My feeling (before running your application) is that indeed detachment
JDO Doc
5

getDetachedInstance()

Method javax.jdo.listener.InstanceLifecycleEvent Object getDetachedInstance() Returns the detached instance involved in the event. Returns: The detached instance involved in the event, or null if there was none. Since: JDO 2.0 See Also: "Section 12.15, Java Data Objects 2.0 Specification"
JDO Doc
5

isDirty(pc)

transaction, or modified while detached return Boolean.TRUE. Instances known by the implementation ... the current transaction, or while detached. Since: JDO 2.0 See Also: StateManager.makeDirty
JDO Doc
5

javax.jdo.listener.AttachCallback

.makePersistent on the detached instance before the copy is made. This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the detached instance before the copy is made. Since: JDO 2.0
JDO Doc
5

javax.jdo.ObjectState

the object states for JDO instances. Since: JDO 1.0 ObjectState DETACHED_CLEAN Since: JDO 1.0 ObjectState DETACHED_DIRTY Since: JDO 1.0 ObjectState HOLLOW_PERSISTENT_NONTRANSACTIONAL Since: JDO 1.0
JDO Doc
5

postAttach(event)

Method javax.jdo.listener.AttachLifecycleListener void postAttach(   InstanceLifecycleEvent event ) This method is called after a detached instance is attached, via the javax.jdo.PersistenceManager ... ; the target instance is the detached instance. This method is called after the corresponding