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).

Sort Order: Ascending order - Click to sort in descending order
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)