DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCCORE-747
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

After performing non-xt update, remove all objects that are now deleted, to prevent misunderstandings

Created: 15/Jul/11 05:21 PM   Updated: 01/Aug/11 10:23 AM   Resolved: 15/Jul/11 05:24 PM
Component/s: Cache, Transactions
Affects Version/s: None
Fix Version/s: 3.0.0.release


 Description  « Hide
If a user performs a nontransactional
pm.deletePersistent()
then the object migrates to P_DELETED, but remains in the L1 cache. If they then do
pm.getObjectById(idOfDeleted);
it is returned (as P_DELETED).

Andy Jefferson added a comment - 15/Jul/11 05:24 PM
Now keeps track of any objects flushed non-transactionally, and removes all P_DELETED objects from the cache(s)

Andy Jefferson made changes - 15/Jul/11 05:24 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Aug/11 10:23 AM
Status Resolved [ 5 ] Closed [ 6 ]