About dirty

21-30 of 80Refresh
JDO Doc
7

javax.jdo.PersistenceManagerFactory

-clean to persistent-clean or from detached-dirty to persistent-dirty. Parameters: flag - Since: JDO 2.1 ... and the instances revert to transient. Additionally, dirty instances transition to hollow
JDO Doc
7

nonBinaryCompatibleMakeDirty(pc, fieldName)

Method javax.jdo.spi.JDOImplHelper void nonBinaryCompatibleMakeDirty(   Object pc,   String fieldName ) Mark a non-binary-compatible instance dirty. Delegate to all registered StateInterrogation instances until one of them handles the call. Parameters: pc - the instance to mark dirty fieldName - the field to mark dirty Since: JDO 1.0
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