About dirty

manual

Updating JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.... Explicitly mark the parameter instance and field dirty. See JavaDoc Reference Page... ( employee, "projects" ) ; // reported as dirty em. getTransaction getTransaction() EntityManager's ...

 
manual

Entity Management Settings

Explains settings and performance tuning of JPA entities in ObjectDB, the fast Java object database for JPA/JDO.... = "false" on-commit = "true" /> <dirty-tracking arrays = "false" /> </entities > ... The <cascade-persist> element The <dirty-tracking> element The <enhancement> ...

 
forum_thread

Dirty checking

Hi, wondering if anyone knows the best way to detect which objects have been changed in the database. ie: which objects, and which collections of objects, have been dirtied.     ... uses JPA) so you can check if an entity object is dirty using the static JDOHelper.isDeleted isDeleted(pc) ... uses JPA) so you can check if an entity object is dirty using the static JDOHelper.isDeleted method. excellent, thanks! ... What I'm looking to do is to be able to use dirty tracking to a single 'view projection update' calculation at the ...

 
api-jdo

InstanceLifecycleEvent.DIRTY

(Static Field of javax.jdo.listener.InstanceLifecycleEvent)

 
forum_thread

Entity Update - Is the documentation up to date?

I'm working on my first ObjectDB project, and I just went back and reviewed some of the documentation.  Turns out I've been doing two things that http://www.objectdb.com/java/jpa/persistence/update suggests should not work. First, I've been modifying managed entities from outside an active transaction.  If I subsequently begin and commit a transaction, all my changes seem to be merged automatically. ... will not trigger making the containing entity object dirty, but if it is marked dirty because of another change, the array update will also be applied to ...

 
api-jdo

javax.jdo.spi.PersistenceCapable

A class that can be managed by a binary-compatible JDO implementation must implement this interface.(Interface of JDO)

 
api-jdo

javax.jdo.listener.DirtyLifecycleListener

This interface is implemented by listeners to be notified of dirty events.(Interface of JDO)

 
api-jdo

makeDirty(pc, fieldName)

Explicitly mark the parameter instance and field dirty.(Static Method of javax.jdo.JDOHelper)

 
api-jdo

javax.jdo.spi.StateInterrogation

This interface is implemented by a non-binary-compatible JDO implementation to provide state interrogation for non-enhanced persistent classes.(Interface of JDO)

 
api-jdo

jdoMakeDirty(fieldName)

Explicitly mark this instance and this field dirty.(Method of javax.jdo.spi.PersistenceCapable)