OpenJPA
  1. OpenJPA
  2. OPENJPA-419

Merging graphs that include managed instances fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0, 0.9.6, 0.9.7, 1.0.0
    • Fix Version/s: 1.0.2, 1.1.0
    • Component/s: kernel
    • Labels:
      None

      Description

      Normally, em.merge() is invoked on graphs of detached or unmanaged instances. However, it is common to obtain a detached or unmanaged instance and add relations to managed instances.

      It seems clear that these sorts of detached-and-managed graphs can be handled in a deterministic manner by OpenJPA. So, we should do so.

        Activity

        Patrick Linskey created issue -
        Patrick Linskey made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1.0 [ 12312344 ]
        Hide
        Kevin Sutter added a comment -

        Need to re-open to get this resolved for the 1.0.2 branch...

        Show
        Kevin Sutter added a comment - Need to re-open to get this resolved for the 1.0.2 branch...
        Kevin Sutter made changes -
        Status Resolved [ 5 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        Assignee Michael Dick [ mikedd ]
        Kevin Sutter made changes -
        Fix Version/s 1.0.2 [ 12312846 ]
        Michael Dick made changes -
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Closed [ 6 ]

          People

          • Assignee:
            Michael Dick
            Reporter:
            Patrick Linskey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development