Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1988

openjpa does not process persistence unit default <cascade-persist>

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 2.3.0
    • Fix Version/s: 2.2.1.1, 2.2.3, 2.4.0
    • Component/s: None
    • Labels:
      None

      Description

      For a ManyToMany relationship, I attempted to use the following in the orm to persist the related entities:

      <persistence-unit-metadata>
      <persistence-unit-defaults>
      <delimited-identifiers/>
      </persistence-unit-defaults>
      </persistence-unit-metadata>

      Although openjpa appears to find this, it doesn't use it in an em.persist(). It does work, however, if I put cascade=CascadeType.persist on the @ManyToMany annotation of the entity that is specifically persisted.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1674167 from Heath Thomann in branch 'openjpa/trunk'
        [ https://svn.apache.org/r1674167 ]

        OPENJPA-1988: Made an update to the test case for this JIRA, i.e. merged r1642555 from 2.2.x to trunk

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1674167 from Heath Thomann in branch 'openjpa/trunk' [ https://svn.apache.org/r1674167 ] OPENJPA-1988 : Made an update to the test case for this JIRA, i.e. merged r1642555 from 2.2.x to trunk
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1673310 from Heath Thomann in branch 'openjpa/branches/2.2.1.x'
        [ https://svn.apache.org/r1673310 ]

        OPENJPA-1988: Made an update to the test case for this JIRA, i.e. merged r1642555 from 2.2.x to 2.2.1.x.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1673310 from Heath Thomann in branch 'openjpa/branches/2.2.1.x' [ https://svn.apache.org/r1673310 ] OPENJPA-1988 : Made an update to the test case for this JIRA, i.e. merged r1642555 from 2.2.x to 2.2.1.x.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1673276 from Heath Thomann in branch 'openjpa/trunk'
        [ https://svn.apache.org/r1673276 ]

        OPENJPA-1988: Made an update to the test case for this JIRA, i.e. merged r1641906 from 2.2.x to trunk.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1673276 from Heath Thomann in branch 'openjpa/trunk' [ https://svn.apache.org/r1673276 ] OPENJPA-1988 : Made an update to the test case for this JIRA, i.e. merged r1641906 from 2.2.x to trunk.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1673275 from Heath Thomann in branch 'openjpa/branches/2.2.1.x'
        [ https://svn.apache.org/r1673275 ]

        OPENJPA-1988: Made an update to the test case for this JIRA, i.e. merged r1641906 from 2.2.x to 2.2.1.x.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1673275 from Heath Thomann in branch 'openjpa/branches/2.2.1.x' [ https://svn.apache.org/r1673275 ] OPENJPA-1988 : Made an update to the test case for this JIRA, i.e. merged r1641906 from 2.2.x to 2.2.1.x.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1642555 from Jody Grassel in branch 'openjpa/branches/2.2.x'
        [ https://svn.apache.org/r1642555 ]

        OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1642555 from Jody Grassel in branch 'openjpa/branches/2.2.x' [ https://svn.apache.org/r1642555 ] OPENJPA-1988 : openjpa does not process persistence unit default <cascade-persist>
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1641906 from Jody Grassel in branch 'openjpa/branches/2.2.x'
        [ https://svn.apache.org/r1641906 ]

        OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1641906 from Jody Grassel in branch 'openjpa/branches/2.2.x' [ https://svn.apache.org/r1641906 ] OPENJPA-1988 : openjpa does not process persistence unit default <cascade-persist>
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1636446 from Jody Grassel in branch 'openjpa/branches/2.3.x'
        [ https://svn.apache.org/r1636446 ]

        OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1636446 from Jody Grassel in branch 'openjpa/branches/2.3.x' [ https://svn.apache.org/r1636446 ] OPENJPA-1988 : openjpa does not process persistence unit default <cascade-persist>
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1636422 from Jody Grassel in branch 'openjpa/branches/2.2.1.x'
        [ https://svn.apache.org/r1636422 ]

        OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1636422 from Jody Grassel in branch 'openjpa/branches/2.2.1.x' [ https://svn.apache.org/r1636422 ] OPENJPA-1988 : openjpa does not process persistence unit default <cascade-persist>
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1636415 from Jody Grassel in branch 'openjpa/trunk'
        [ https://svn.apache.org/r1636415 ]

        OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1636415 from Jody Grassel in branch 'openjpa/trunk' [ https://svn.apache.org/r1636415 ] OPENJPA-1988 : openjpa does not process persistence unit default <cascade-persist>
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1636387 from Jody Grassel in branch 'openjpa/branches/2.2.x'
        [ https://svn.apache.org/r1636387 ]

        OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1636387 from Jody Grassel in branch 'openjpa/branches/2.2.x' [ https://svn.apache.org/r1636387 ] OPENJPA-1988 : openjpa does not process persistence unit default <cascade-persist>
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1595310 from Jody Grassel in branch 'openjpa/branches/2.2.x'
        [ https://svn.apache.org/r1595310 ]

        OPENJPA-1988: OpenJPA does not process persistence unit default <cascade-persist>

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1595310 from Jody Grassel in branch 'openjpa/branches/2.2.x' [ https://svn.apache.org/r1595310 ] OPENJPA-1988 : OpenJPA does not process persistence unit default <cascade-persist>
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1579042 from Jody Grassel in branch 'openjpa/branches/2.2.1.x'
        [ https://svn.apache.org/r1579042 ]

        OPENJPA-1988: OpenJPA does not process persistence unit default <cascade-persist>

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1579042 from Jody Grassel in branch 'openjpa/branches/2.2.1.x' [ https://svn.apache.org/r1579042 ] OPENJPA-1988 : OpenJPA does not process persistence unit default <cascade-persist>
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1579029 from Jody Grassel in branch 'openjpa/branches/2.2.x'
        [ https://svn.apache.org/r1579029 ]

        OPENJPA-1988: OpenJPA does not process persistence unit default <cascade-persist>

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1579029 from Jody Grassel in branch 'openjpa/branches/2.2.x' [ https://svn.apache.org/r1579029 ] OPENJPA-1988 : OpenJPA does not process persistence unit default <cascade-persist>
        Hide
        allee8285 Albert Lee added a comment -

        Change fix version in preparation of 2.2.0 release.

        Show
        allee8285 Albert Lee added a comment - Change fix version in preparation of 2.2.0 release.

          People

          • Assignee:
            fyrewyld Jody Grassel
            Reporter:
            dianner Dianne Richards
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development