cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dzmitry Kazimirchyk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-1757) ROP: Faulting entity relationship resets uncommitted modifications made to its reverse relationship
Date Fri, 09 Nov 2012 09:34:13 GMT
Dzmitry Kazimirchyk created CAY-1757:
----------------------------------------

             Summary: ROP: Faulting entity relationship resets uncommitted modifications made
to its reverse relationship
                 Key: CAY-1757
                 URL: https://issues.apache.org/jira/browse/CAY-1757
             Project: Cayenne
          Issue Type: Bug
    Affects Versions: 3.1B1
            Reporter: Dzmitry Kazimirchyk


Following sequence performed on ROP client side will reset changed patinging1->artist relationship
back to old.

Artist oldArtist = painting1.getArtist(); // oldArtist->paintings are not yet faulted
painting1.setArtist(newArtist);
oldArtist.getPaintings(); // faulting paintings from db will reset painting1->artist to
oldArtist back again


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message