About detach

31-40 of 164Refresh
JDO Doc
16

javax.jdo.FetchPlan

, and the various setGroups calls. Value: default. Since: JDO 2.0 int DETACH_LOAD_FIELDS For use ... plan should be loaded prior to detachment. Since: JDO 2.0 int DETACH_UNLOAD_FIELDS For use ... should be unloaded prior to detachment. Since: JDO 2.0 int FETCH_SIZE_GREEDY For use with setFetchSize
Manual
15

JPA Entity Fields

for debugging and logging. Version values cannot be preserved for detached entity objects (explained in chapter
Result
15

What is new in ObjectDB 2.0?

optimization engine. Detach / Attach. Support of persistent classes that are not enhanced. Improved
Manual
15

Deleting JPA Entity Objects

if the argument is not a an instance of an entity class or if it is a detached entity
JDO Doc
15

detachCopyAll(pcs)

Method javax.jdo.PersistenceManager T[] detachCopyAll(   T... pcs ) Detach the specified instances from the PersistenceManager. The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS ... []). The detached instances will be unmanaged copies of the specified parameters, and are suitable
JPA Doc
14

javax.persistence.EntityManager

, causing all managed entities to become detached. Clear the persistence context, causing all managed entities to become detached. Changes made to entities that have not been flushed to the database will not ... is found to be invalid Since: JPA 2.0 void detach(Object entity) Remove the given entity from
JDO Doc
13

javax.jdo.listener.DetachLifecycleListener

This interface is implemented by listeners to be notified of detach events. Since: JDO 2.0 void ... .PersistenceManager.detachCopy after the detached copy is made. This method is called during the execution of javax.jdo.PersistenceManager.detachCopy after the detached copy is made. It is called
JDO Doc
12

javax.jdo.spi.StateInterrogation

) Tests whether the parameter instance is detached. Tests whether the parameter instance is detached. Instances that are detached return Boolean.TRUE. Instances known by the implementation to be non-detached return Boolean.FALSE. Instances not recognized by the implementation return null. Parameters: pc
JDO Doc
12

javax.jdo.listener.AttachLifecycleListener

postAttach( InstanceLifecycleEvent event) This method is called after a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method. This method is called after a detached ... is the corresponding persistent instance in the cache; the target instance is the detached instance
JDO Doc
11

detachCopy(pc)

Method javax.jdo.PersistenceManager T detachCopy(   T pc ) Detach the specified instance from the PersistenceManager. The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS ... : pc - the instance to detach Returns: the detached instance Since: JDO 2.0 See Also: detachCopyAll(Object[])