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-740
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

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