Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-3731

uid generator should support JTA transactions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3 RC
    • Fix Version/s: 5.3 RC
    • Component/s: None
    • Impact type:
      Configuration format change
    • Upgrade notes:
      Hide

      Table "uid_sequence" has been renamed to "nxp_uidseq" but its content has not changed.

      Show
      Table "uid_sequence" has been renamed to "nxp_uidseq" but its content has not changed.

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                slacoin Stéphane Lacoin
                Reporter:
                slacoin Stéphane Lacoin
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: