openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fay Wang (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-1053) Updating an entity by setting an embeddable to it does not work properly if the embeddable has a relationship with another entity with cascade delete
Date Wed, 29 Apr 2009 04:57:30 GMT
Updating an entity by setting an embeddable to it does not work properly if the embeddable
has a relationship with another entity with cascade delete 
------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: OPENJPA-1053
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1053
             Project: OpenJPA
          Issue Type: Bug
          Components: kernel
    Affects Versions: 2.0.0
            Reporter: Fay Wang
            Assignee: Fay Wang


Updating an entity (EntityA) by setting a new embeddable to it when the embeddable has a relationship
with another entity (EntityB) with cascade delete does not work:

(1) the old entityB referenced by the old embeddable in EntityA will be deleted.
(2) if the EntityB also has cascade delete relation with EntityA, the EntityA will also be
deleted,

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


Mime
View raw message