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-469
Type: Improvement Improvement
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Unassigned
Reporter: Erik Bengtson
Votes: 0
Watchers: 0

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

org.datanucleus.TransactionImpl should no longer take ObjectManager since not needed

Created: 20/Feb/10 04:28 PM   Updated: 03/Apr/10 10:45 AM   Resolved: 26/Mar/10 08:57 PM
Component/s: Code Structure
Affects Version/s: 2.0.0.release, 2.0.1
Fix Version/s: 2.1.0.m1

Issue Links:

 Description  « Hide
org.datanucleus.TransactionImpl only uses ObjectManager to print debug messages.

It needes the OMFContext and the StoreManager

The new constructor should be like the below, where the key is a value used to print messages or raise exceptions with this key object refered.
public TransactionImpl(OMFContext omfContext, StoreManager storeManager, Object key)

The ObjectManager operations such as preCommit are replaced by TransactionListener

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 26/Mar/10 08:30 PM