OpenJPA
  1. OpenJPA
  2. OPENJPA-2405

EntityManager.merge does not work for entity that is managed by another EntityManager

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.3.0
    • Component/s: kernel
    • Labels:
      None

      Description

      EntityManager.merge does not work for entity that is managed by another EntityManager. Instead of updating that entity OpenJPA tries to persist the entity a second time

        Activity

        Arne Limburg created issue -
        Arne Limburg made changes -
        Field Original Value New Value
        Attachment OPENJPA-2405.patch [ 12589574 ]
        Arne Limburg made changes -
        Comment [ Sehr geehrte Damen und Herren,

        in der Zeit vom 16.08.2012 - 06.09.2012 bin ich nicht im Büro zu erreichen.
        In dringenden Fällen wenden Sie sich bitte an unser Sekretariat (sekretariat@openknowledge.de) unter der Nummer +49 441 4082 0.

        Mit freundlichen Grüßen
        Arne Limburg

        -----------------------------------------------------------------------------

        Dear Sir or Madam,

        I'm out of office from 16.08.2012 to 06.09.2012.
        For anything urgent please contact our office management (sekretariat@openknowledge.de) on +49 441 4082 0.

        Sincerely,
        Arne Limburg

        --

        Arne Limburg - Enterprise Architekt
        open knowledge GmbH, Oldenburg
        Bismarckstraße 13, 26122 Oldenburg
        Mobil: +49 (0) 151 108 22 942
        Tel: +49 (0) 441 - 4082-0
        Fax: +49 (0) 441 - 4082-111
        arne.limburg@openknowledge.de
        http://www.openknowledge.de

        Registergericht: Amtsgericht Oldenburg, HRB 4670
        Geschäftsführer: Lars Röwekamp, Jens Schumann
        ]
        Jody Grassel made changes -
        Attachment openjpa-2405-2.1.x.patch [ 12590080 ]
        Jody Grassel made changes -
        Assignee Jody Grassel [ fyrewyld ]
        Jody Grassel made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Jody Grassel made changes -
        Original Estimate 2h [ 7200 ]
        Remaining Estimate 2h [ 7200 ]
        Fix Version/s 2.3.0 [ 12319463 ]
        Component/s kernel [ 12311302 ]
        Jody Grassel made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jody Grassel made changes -
        Attachment openjpa-2405-2.1.x.patch [ 12590080 ]
        Mark Struberg made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Jody Grassel
            Reporter:
            Arne Limburg
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2h
              2h
              Remaining:
              Remaining Estimate - 2h
              2h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development