Issue Details (XML | Word | Printable)

Key: NUCCORE-740
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

Allow detachOnClose to be run nontransactional since read-only process

Created: 05/Jul/11 07:57 PM   Updated: 01/Aug/11 10:23 AM   Resolved: 05/Jul/11 07:59 PM
Component/s: Lifecycles
Affects Version/s: None
Fix Version/s: 3.0.0.m6


 Description  « Hide
When we close the ObjectManager (PM/EM) there is the optional step of detaching all objects in the L1 cache. Since this is a read-only operation we could allow it to be run non-transactional since the only possible datastore contact is reading of fields. This would also help out with datastores that only allow subsets of objects to be processed together (e.g GAE/J "entity groups")

Andy Jefferson added a comment - 05/Jul/11 07:59 PM
SVN trunk now runs this process nontx if nontx-read is enabled, otherwise transactional (like it has been up til now)

Andy Jefferson made changes - 05/Jul/11 07:59 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 ]