uid generator should support JTA transactions
---------------------------------------------

                 Key: NXP-3731
                 URL: http://jira.nuxeo.org/browse/NXP-3731
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
    Affects Versions: 5.2 GA, 5.2.x
            Reporter: Stéphane Lacoin
            Assignee: Thierry Delprat
            Priority: Major
             Fix For: 5.2.x


UID Generator do not use container managed transactions unless JPA is 
configured for.
This makes hibernate throwing the following exception
12:01:21,908 ERROR [EventServiceImpl] Error during sync listener execution
javax.persistence.PersistenceException: org.hibernate.HibernateException: The 
chosen transaction strategy requires access to the JTA TransactionManager

We have to let the container injecting the entity manager instead of manually 
handling it's creation. Or to setup JPA according 
to local transaction management.

This bug is related to NXP-2157 (the history is not available in nuxeo-service, 
will have a look the old nuxeo-platform hg repo).

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

       
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to