About dirty

21-30 of 77Refresh
JDO Doc
6

isDirty(pc)

Method javax.jdo.spi.StateInterrogation Boolean isDirty(   Object pc ) Tests whether the parameter instance is dirty. Instances that have been modified, deleted, newly made persistent in the current ... to be non-dirty return Boolean.FALSE. Instances not recognized by the implementation return null
JPA Doc
6

javax.persistence.LockModeType

phenomena can occur: P1 (Dirty read): Transaction T1 modifies a row. Another transaction T2 then reads ... (Dirty read): Transaction T1 modifies a row. Another transaction T2 then reads that row and obtains
JDO Doc
6

makeDirty(pc, fieldName)

Static Method javax.jdo.JDOHelper void makeDirty(   Object pc,   String fieldName ) Explicitly mark the parameter instance and field dirty. Normally, PersistenceCapable classes are able to detect ... - the PersistenceCapable instance. fieldName - the name of the field to be marked dirty. Since: JDO 1
JDO Doc
6

makeDirty(pc, fieldName)

Method javax.jdo.spi.StateInterrogation boolean makeDirty(   Object pc,   String fieldName ) Explicitly mark the parameter instance and field dirty. Normally, PersistenceCapable classes are able ... of the field to be marked dirty. Since: JDO 2.0 See Also: PersistenceCapable.jdoMakeDirty(String fieldName)
JDO Doc
6

makePersistent(pc)

, then the implementation is not required to mark the corresponding instance dirty. If it cannot determine if changes were made, then it must mark the instance dirty. No consistency checking
JDO Doc
6

setCopyOnAttach(flag)

and change their state from detached-clean to persistent-clean or from detached-dirty to persistent-dirty. Parameters: flag - Since: JDO 2.1 See Also: getCopyOnAttach()
JDO Doc
6

setCopyOnAttach(flag)

from detached-clean to persistent-clean or from detached-dirty to persistent-dirty. Parameters: flag - Since: JDO 2.1 See Also: getCopyOnAttach()
JDO Doc
4

deletePersistentAll()

Method javax.jdo.Query long deletePersistentAll() Deletes all the instances of the candidate class that pass the filter. Returns the number of instances of the candidate class that were deleted, specifically not including the number of dependent and embedded instances. Dirty instances of affected
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