Internal Website Search

31-40 of 172 resultsRefresh

Deleting JPA Entity Objects

of an entity class or if it is a detached entity. A

javax.persistence.EntityManager

context, causing all managed entities to become detached. detached. Changes made to entities that have not been flushed to the database will not ... class="name">detach_Object" title="Method of javax.persistence

makePersistent(pc)

>PersistenceManager . This method makes transient instances persistent and applies detached ... instances, the create life cycle listener is called. For detached instances, it locates or instantiates a persistent instance with the same JDO identity as the detached instance

detachCopyAll(pcs)

> Detach the specified instances from the PersistenceManager . The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS ... >makePersistentAll(Object[]) . The detached instances will be unmanaged copies of the specified

javax.jdo.listener.DetachLifecycleListener

"> This interface is implemented by listeners to be notified of detach events. after the detached copy is made. after the detached copy is made. It is called after the method

javax.jdo.spi.StateManager

/replacingDetachedState_Detachable_Object[]" title="Method of javax.jdo.spi.StateManager">replacingDetachedState

javax.jdo.spi.StateInterrogation

> Tests whether the parameter instance is detached. detached. Instances that are detached return Boolean.TRUE . Instances known by the implementation to be non-detached return Boolean.FALSE.

javax.jdo.listener.InstanceLifecycleEvent

">DETACH" title="Static Field of javax.jdo.listener.InstanceLifecycleEvent">DETACH Returns the detached instance involved in the event.

javax.jdo.listener.AttachLifecycleListener

> This method is called after a detached instance is attached ... after a detached instance is attached, via the detached instance. This method is called after the corresponding

replacingDetachedState(pc, state)

="/api/java/jdo/spi/Detachable" title="Interface in javax.jdo.spi">Detachable pc,   ... value of the detached state in the calling instance. Detachable instance state - the current value