About change

141-150 of 200Refresh
JDO Doc
2

jdoGetObjectId()

, then the ObjectId returned is only valid within the current transaction. If the JDO identity is being changed in
JDO Doc
2

jdoPreStore()

so that changes to persistent fields will be reflected in the data store. The context in
JDO Doc
2

makeTransactional(pc)

before the first change in the transaction. For persistent instances read in optimistic transactions
JDO Doc
2

postDirty(event)

Method javax.jdo.listener.DirtyLifecycleListener void postDirty(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called after the value is changed. Parameters: event - Since: JDO 2.0
JDO Doc
2

preDirty(event)

Method javax.jdo.listener.DirtyLifecycleListener void preDirty(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called before the value is changed. Parameters: event - Since: JDO 2.0
JPA Doc
2

refresh(entity)

Method javax.persistence.EntityManager void refresh(   Object entity ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any. Parameters: entity - entity instance Throws: IllegalArgumentException - if the instance is not an entity or the entity is not
JPA Doc
2

refresh(entity, lockMode)

Method javax.persistence.EntityManager void refresh(   Object entity,   LockModeType lockMode ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type. If the lock mode type is pessimistic and the entity
JPA Doc
2

refresh(entity, lockMode, properties)

Method javax.persistence.EntityManager void refresh(   Object entity,   LockModeType lockMode,   Map properties ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type and with specified
JPA Doc
2

refresh(entity, properties)

Method javax.persistence.EntityManager void refresh(   Object entity,   Map properties ) Refresh the state of the instance from the database, using the specified properties, and overwriting changes made to the entity, if any. If a vendor-specific property or hint is not recognized
JDO Doc
2

replacingStateManager(pc, sm)

. This is a security precaution to ensure that the owning StateManager is the only source of any change