Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-853

JPA EntityTransaction must allow multiple begin/commit cycles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • JPA 1.0
    • JPA 1.0, 3.0M2
    • None
    • None

    Description

      Per JPA sepc 3,1.:

      /**

      • Return the resource-level transaction object.
      • The EntityTransaction instance may be used serially to
      • begin and commit multiple transactions.
      • @return EntityTransaction instance
      • @throws IllegalStateException if invoked on a JTA
      • EntityManager.
        */
        public EntityTransaction getTransaction();

      Currently EntityTransaction can not be reused after commit.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: