cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAY-1547) cayenne-lifecycle: support for setting UuidRelationships
Date Tue, 01 Mar 2011 15:21:36 GMT
cayenne-lifecycle: support for setting UuidRelationships
--------------------------------------------------------

                 Key: CAY-1547
                 URL: https://issues.apache.org/jira/browse/CAY-1547
             Project: Cayenne
          Issue Type: New Feature
          Components: Core Library
    Affects Versions: 3.1M2
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik


Currently UuidRelationships are read-only. There's no easy way to establish them in the code,
especially if both from and to objects are NEW and PK is not known. So I am going to add some
handler code that does all the backend magic. (maybe someday we make UuidRelationship a first
class citizen in Cayenne and this will be done differently, for now it belongs in cayenne-lifecycle).


One possible subtask of this task is a PkQuery - a special query to reserve a primary key
for the object before commit. This will simplify the process of transactional saving UUID
"FK" , and seems like a useful utility in general.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message