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] Closed: (CAY-1548) PkQuery - a query to reserve a PK for a given object before commit.
Date Wed, 02 Mar 2011 13:44:40 GMT

     [ https://issues.apache.org/jira/browse/CAY-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik closed CAY-1548.
--------------------------------

    Resolution: Won't Fix

This approach appears to be a dead end. In particular PkQuery can not be combined with entities
with "generated" PK, as "generated" PK bypasses Cayenne PkGenerator. 

> PkQuery - a query to reserve a PK for a given object before commit.
> -------------------------------------------------------------------
>
>                 Key: CAY-1548
>                 URL: https://issues.apache.org/jira/browse/CAY-1548
>             Project: Cayenne
>          Issue Type: Sub-task
>          Components: Core Library
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>         Attachments: 0001-CAY-1548-PkQuery-a-query-to-reserve-a-PK-for-a-given.patch
>
>
> Will create a new query - PkQuery, that will be used to reserve a PK for a given object
before commit. It should return a List<Long> with a single PK. Not sure if there is
a point in batching it (fetch multiple PKs in one shot?) Won't do batching initially.

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

        

Mime
View raw message