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
Operations

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:
Duplicate
 


 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

Erik Bengtson made changes - 21/Feb/10 10:45 AM
Field Original Value New Value
Description 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)
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
Andy Jefferson added a comment - 26/Mar/10 08:30 PM

Erik Bengtson made changes - 26/Mar/10 08:57 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Duplicate [ 3 ]
Erik Bengtson made changes - 26/Mar/10 08:58 PM
Link This issue duplicates NUCCORE-492 [ NUCCORE-492 ]
Andy Jefferson made changes - 27/Mar/10 09:54 AM
Fix Version/s 2.1.0.m1 [ 10900 ]
Fix Version/s 2.1.0.release [ 10836 ]
Andy Jefferson made changes - 03/Apr/10 10:45 AM
Status Resolved [ 5 ] Closed [ 6 ]