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

Nikita Timofeev closed CAY-2604.
--------------------------------
    Resolution: Fixed

> Specialization of property API for PK
> -------------------------------------
>
>                 Key: CAY-2604
>                 URL: https://issues.apache.org/jira/browse/CAY-2604
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: cgen
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.2.M1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Properties generated for PK in 4.1 has issues (see CAY-2565), so we need some 
> logic to deal with them.
> Instead of using DbPath directly we can make special type of {{Property}} 
> (probably {{IdProperty}}) to make them usable in all cases.
> Required cases to handle:
> - compatibility with {{dot()}} operator
> - in-memory sorting
> - in-memory evaluation
> My approach is to use special name {{"@id"}} as path for PK. Limitation - it 
> will be unusable with compound PKs. 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to