Internal Website Search

1-10 of 172 resultsRefresh

Detached Entity Objects

Detached entity objects are objects in a special detached objects are limited in functionality: Many JPA methods do not accept detached objects (e.g.

detach(entity)

.persistence">javax.persistence.EntityManagervoid detach(  Object entitydetached. Unflushed changes made to the entity if any ... referenced the detached entity will continue to reference it.

CascadeType.DETACH

Enum Constant javax.persistence.CascadeTypeDETACH Cascade detach operation

javax.jdo.spi.Detachable

>Interface Detachable This interface is implemented by classes that can be detached from the persistence context and later ... the persistence environment. The detached state is stored as a field in each instance

jdoReplaceDetachedState()

Detachable" title="Interface in javax.jdo.spi">javax.jdo.spi.Detachablevoid jdoReplaceDetachedState() This method calls the StateManager with the current detached state instance as

jdoPostDetach(detached)

;Object detached) This method is called ... > on the detached instance after the copy is made. Parameters: detached - The corresponding (attached

FetchPlan.DETACH_UNLOAD_FIELDS

">javax.jdo.FetchPlanint DETACH_UNLOAD_FIELDS For use with detachment

FetchPlan.DETACH_LOAD_FIELDS

">javax.jdo.FetchPlanint DETACH_LOAD_FIELDS For use with detachment

PersistenceCapable.detachable

detachable Whether this class or interface is detachable. Default value:

Constants.PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT

">javax.jdo.ConstantsString PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT The name of the persistence manager factory element's "detach-all-on-commit" attribute.