Transaction support.
--------------------

                 Key: QI-10
                 URL: http://issues.ops4j.org/jira/browse/QI-10
             Project: Qi4j
          Issue Type: New Feature
            Reporter: Niclas Hedhman
            Assignee: Rickard Öberg



The Composite instance must be explicitly becoming part of a transaction, 
either by;

 1. CompositeRepository.getInstance() is called after a transaction is started, 
or
 2. The attach() method in PersistenceComposite is called. The attach() method 
will attach a new instance of the same composite indentity.

It also implies that there must be a modifier that attaches instances in set 
methods to the current transaction.

For full transaction support, the backing storage must be XA transaction 
compliant, 

When a composite instance is returned to the client code, and it belongs to a 
transaction, the instance must not be shared.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to