Internal Website Search
1-50 of 58 resultsDirty checking the database. ie: which objects, and which collections of objects, have been dirtied . in the jdo api ... ) so you can check if an entity object is dirty using the static JDOHelper.isDeleted method. support Support ... object is dirty using the static JDOHelper.isDeleted method. excellent, thanks! another question | |
Locking in JPA affects only clean (non dirty ) entity objects. Explicit lock at that mode marks the clean entity object as modified ( dirty ) and increases its version number by 1. The PESSIMISTIC_FORCE_INCREMENT mode ... dirty and increases its version number by one (i.e. it combines PESSIMISTIC_WRITE with OPTIMISTIC | |
Entity Management Settings the reference type for holding non dirty entities in the persistence context of the EntityManager | |
Updating JPA Entity Objects JDOHelper . makeDirty (employee, "projects"); // reported as dirty em. getTransaction (). commit (); As | |
Entity Update - Is the documentation up to date?, these changes will not trigger making the containing entity object dirty , but if it is marked dirty ... Support I'd like to understand the " dirtying " of entities a little better. If an array reference ... that is the same as the old value, will the entity be marked dirty ? If I want to avoid | |
javax.jdo.listener.InstanceLifecycleEvent.DIRTY JDO Static Field in javax.jdo.listener.InstanceLifecycleEvent DIRTY Since: JDO 2.0 | |
javax.jdo.ObjectState.PERSISTENT_DIRTY JDO Enum Constant in javax.jdo.ObjectState PERSISTENT_ DIRTY Since: JDO 1.0 | |
javax.jdo.ObjectState.PERSISTENT_NONTRANSACTIONAL_DIRTY JDO Enum Constant in javax.jdo.ObjectState PERSISTENT_NONTRANSACTIONAL_ DIRTY Since: JDO 1.0 | |
javax.jdo.ObjectState.TRANSIENT_DIRTY JDO Enum Constant in javax.jdo.ObjectState TRANSIENT_ DIRTY Since: JDO 1.0 | |
javax.jdo.ObjectState.DETACHED_DIRTY JDO Enum Constant in javax.jdo.ObjectState DETACHED_ DIRTY Since: JDO 1.0 | |
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 | |
Soft Reference Object Cache Recommendation(){ softReferenceData = new SoftReference (data); data = null; } @Override public void jdoPreStore(){ // A dirty ... objects unless necessary (e.g. for dirty objects until commit). On the other hand the data store page | |
Embedded in JDO metadata not working in objectDB 2.x ? program that retrieves all the relevant containing entity objects, makes them dirty and persists ... the schema and wrote the program which retrieves the containing entities, made them dirty | |
Items in list are doubled, when the entity class is not enhanced become dirty just by changing a mapped-by field (this was also true for reflection mode until build 2.2.6_03 and was changed in order to fix orphan removal). If Customer is not dirty - it doesn't cascade | |
Update Entity references if we change the type of an entity to you in a migration process, in which relevant EntityA instances will be marked as dirty and changes | |
Need to close+open database for a commit to be taken into account Hi, I have one case where commit (update of entity in this case) is not taken in account unless database is actually closed and re-open, no error. I tried to use flush instead of close+re-open but it does not work. So currently there is a dirty close + open + reload on each update | |
Negative snapshot user count exception file size = 297009152, dirty pages = 1, update list s = 2, dirty page map = 1, FastModel Ben | |
javax.jdo.spi.PersistenceCapable, transactional, dirty , new, deleted, or detached; and to get its associated PersistenceManager ... whether this object is dirty . Instances that have been modified, deleted, or newly made persistent ... mark this instance and this field dirty . Normally, PersistenceCapable classes are able to detect | |
javax.jdo.PersistenceManager void flush () Flushes all dirty , new, and deleted instances to the data store. It has no effect ... the corresponding instance dirty . If it cannot determine if changes were made, then it must mark the instance dirty . No consistency checking is done during makePersistent of detached instances | |
javax.jdo.JDOHelper whether the instance is persistent, transactional, dirty , new, deleted, or detached ... () Since: JDO 2.0 boolean isDirty (Object pc) Tests whether the parameter instance is dirty . Instances ... ;String fieldName) Explicitly mark the parameter instance and field dirty . Normally | |
javax.jdo.spi.StateInterrogation) Tests whether the parameter instance is dirty . Instances that have been modified, deleted, newly ... known by the implementation to be non- dirty return Boolean.FALSE . Instances not recognized by ... and field dirty . Normally, PersistenceCapable classes are able to detect changes made to their fields | |
PersistenceCapable.jdoMakeDirty(fieldName) - JDO Method;fieldName ) Explicitly mark this instance and this field dirty . Normally, PersistenceCapable classes ... declaring the field. This allows unambiguous identification of the field to be marked dirty . If multiple ... in this API, then the field marked dirty is the field declared by the most derived class. Transient | |
javax.jdo.ObjectState Since: JDO 1.0 DETACHED_ DIRTY Since: JDO 1.0 HOLLOW_PERSISTENT_NONTRANSACTIONAL Since: JDO 1.0 PERSISTENT_CLEAN Since: JDO 1.0 PERSISTENT_DELETED Since: JDO 1.0 PERSISTENT_ DIRTY Since: JDO 1.0 PERSISTENT_NEW Since: JDO 1.0 PERSISTENT_NEW_DELETED Since: JDO 1.0 PERSISTENT_NONTRANSACTIONAL_ DIRTY Since: JDO | |
javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName included a dirty and quick fix that used get as a prefix for both get and set persistent | |
NullPointerException using with "refresh" method type? What is the status of that object when it is refreshed (clean, dirty , detached, etc.)? Which maps | |
Best practise loading big data collection) to non dirty entity objects. Can you share a heap dump of your application during  | |
javax.jdo.PersistenceManagerFactory-clean or from detached- dirty to persistent- dirty . See Also: getCopyOnAttach () Since: JDO 2.1 void ... and the instances revert to transient. Additionally, dirty instances transition to hollow | |
javax.jdo.spi.JDOImplHelper (Object pc, String fieldName) Mark a non-binary-compatible instance dirty . Delegate ... - the instance to mark dirty fieldName - the field to mark dirty Since: JDO 1.0 void registerDateFormat | |
javax.jdo.listener.DirtyLifecycleListener is implemented by listeners to be notified of dirty events. Since: JDO 2.0 Public Methods void postDirty ( InstanceLifecycleEvent event) Invoked whenever a persistent instance is first made dirty ... whenever a persistent instance is first made dirty , during an operation that modifies the value | |
JDOImplHelper.nonBinaryCompatibleMakeDirty(pc,fieldName) - JDO Method JDO Method in javax.jdo.spi.JDOImplHelper void nonBinaryCompatibleMakeDirty ( Object pc, String fieldName ) Mark a non-binary-compatible instance dirty ... : pc - the instance to mark dirty fieldName - the field to mark dirty Since: JDO 1.0 | |
PersistenceManagerFactory.setCopyOnAttach(flag) - JDO Method directly and change their state from detached-clean to persistent-clean or from detached- dirty to persistent- dirty . See Also: getCopyOnAttach () Since: JDO 2.1 | |
PersistenceManager.setCopyOnAttach(flag) - JDO Method detached- dirty to persistent- dirty . See Also: getCopyOnAttach () Since: JDO 2.1 | |
JDOHelper.makeDirty(pc,fieldName) - JDO Static Method JDO Static Method in javax.jdo.JDOHelper void makeDirty ( Object pc, String fieldName ) Explicitly mark the parameter instance and field dirty . Normally ... of the field to be marked dirty . See Also: PersistenceCapable(String fieldName) Since: JDO 1.0 | |
PersistenceManager.makePersistent(pc) - JDO Method dirty . If it cannot determine if changes were made, then it must mark the instance dirty . No consistency | |
StateInterrogation.isDirty(pc) - JDO Method JDO Method in javax.jdo.spi.StateInterrogation Boolean isDirty ( Object pc ) Tests whether the parameter instance is dirty . Instances that have been modified, deleted, newly ... known by the implementation to be non- dirty return Boolean.FALSE . Instances not recognized by | |
javax.jdo.spi.StateManager whether this object is dirty . Instances that have been modified, deleted, or newly made persistent in the current ... (PersistenceCapable pc, String fieldName) Mark the associated PersistenceCapable field dirty | |
StateInterrogation.makeDirty(pc,fieldName) - JDO Method JDO Method in javax.jdo.spi.StateInterrogation boolean makeDirty ( Object pc, String fieldName ) Explicitly mark the parameter instance and field dirty ... : pc - the instance. fieldName - the name of the field to be marked dirty . See Also: PersistenceCapable(String fieldName) Since: JDO 2.0 | |
PersistenceManagerFactory.setRestoreValues(restoreValues) - JDO Method and the instances revert to transient. Additionally, dirty instances transition to hollow. If an implementation | |
PersistenceManager.flush() - JDO Method JDO Method in 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 | |
StateManager.makeDirty(pc,fieldName) - JDO Method JDO Method in 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 | |
StateManager.isDirty(pc) - JDO Method JDO Method in 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 | |
JDOHelper.isDirty(pc) - JDO Static Method JDO Static Method in 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 | |
Transaction.setRestoreValues(restoreValues) - JDO Method instances are unchanged and the instances revert to transient. Additionally, dirty instances transition | |
javax.jdo.Transaction of newly persistent instances are unchanged and the instances revert to transient. Additionally, dirty | |
Query.deletePersistentAll() - JDO Method JDO Method in 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 | |
javax.jdo.Query, specifically not including the number of dependent and embedded instances. Dirty instances of affected | |
javax.jdo.listener.InstanceLifecycleEvent Since: JDO 2.0 DELETE Since: JDO 2.0 DETACH Since: JDO 2.0 DIRTY Since: JDO 2.0 LOAD Since: JDO 2.0 STORE | |
DirtyLifecycleListener.postDirty(event) - JDO Method JDO Method in 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. Since: JDO 2.0 | |
DirtyLifecycleListener.preDirty(event) - JDO Method JDO Method in 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. Since: JDO 2.0 | |
PersistenceCapable.jdoIsDirty() - JDO Method JDO Method in 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. Return: true if this instance has been modified in |