[JIRA] Created: (CAY-853) JPA EntityTransaction must allow multiple begin/commit cycles

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Sat Aug 25 2007 - 09:26:58 EDT

  • Next message: Marcin Skladaniec (JIRA): "[JIRA] Created: (CAY-854) the relationships to entities which are "not for client use" are being returned by ${objEntity.DeclaredRelationships} tag in superclass template"

    JPA EntityTransaction must allow multiple begin/commit cycles
    -------------------------------------------------------------

                     Key: CAY-853
                     URL: https://issues.apache.org/cayenne/browse/CAY-853
                 Project: Cayenne
              Issue Type: Bug
              Components: Cayenne JPA
        Affects Versions: JPA 1.0
                Reporter: Andrus Adamchik
                Assignee: Andrus Adamchik
                Priority: Minor
                 Fix For: JPA 1.0

    Per JPA sepc 3,1.:

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

    Currently EntityTransaction can not be reused after commit.

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Sat Aug 25 2007 - 09:27:34 EDT