About dirty

31-40 of 80Refresh
Forum
4

Entity Update - Is the documentation up to date?

entity object dirty, but if it is marked dirty because of another change, the array update will also be applied to database on transaction commit. I'd like to understand the "dirtying" of entities ... variable is assigned a new value that is the same as the old value, will the entity be marked dirty
JDO Doc
4

flush()

Method javax.jdo.PersistenceManager void flush() Flushes all dirty, new, and deleted instances to the data store. It has no effect if a transaction is not active. If a datastore transaction is active, this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic
JDO Doc
4

isDirty(pc)

Static Method javax.jdo.JDOHelper boolean isDirty(   Object pc ) Tests whether the parameter instance is dirty. Instances that have been modified, deleted, or newly made persistent in the current transaction return true. Transient instances and instances of classes that do not implement
JDO Doc
4

isDirty(pc)

Method javax.jdo.spi.StateManager boolean isDirty(   PersistenceCapable pc ) Tests whether this object is dirty. Instances that have been modified, deleted, or newly made persistent in the current transaction return true. Transient nontransactional instances return false. Parameters: pc
JDO Doc
4

javax.jdo.listener.InstanceLifecycleEvent

2.0 int DIRTY Since: JDO 2.0 int LOAD Since: JDO 2.0 int STORE Since: JDO 2.0
JDO Doc
4

jdoIsDirty()

Method javax.jdo.spi.PersistenceCapable boolean jdoIsDirty() Tests whether this object is dirty. Instances that have been modified, deleted, or newly made persistent in the current transaction return true. Transient instances return false. Returns: true if this instance has been modified in
JDO Doc
4

makeDirty(pc, fieldName)

Method javax.jdo.spi.StateManager void makeDirty(   PersistenceCapable pc,   String fieldName ) Mark the associated PersistenceCapable field dirty. The StateManager will make a copy of the field so it can be restored if needed later, and then mark the field as modified in the current transaction
JDO Doc
4

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
4

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
JDO Doc
4

setRestoreValues(restoreValues)

. Additionally, dirty instances transition to hollow. If an implementation does not support