cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAY-2565) Can't use new generated PK properties with dot() operator
Date Fri, 26 Apr 2019 12:25:00 GMT

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

Nikita Timofeev reassigned CAY-2565:
------------------------------------

    Assignee: Nikita Timofeev

> Can't use new generated PK properties with dot() operator
> ---------------------------------------------------------
>
>                 Key: CAY-2565
>                 URL: https://issues.apache.org/jira/browse/CAY-2565
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 4.1.B1
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.1.B2, 4.2.M1
>
>
> Per CAY-2478 we can generate properties for PK attributes. But they are incompatible
with {{dot() }} operator as it is unaware about db paths. 
> Simple test case: {code}
> Expression exp = Painting.TO_ARTIST.dot(Artist.ARTIST_ID_PK_PROPERTY).eq(1L);
> {code}
> Will generated following expression: {{toArtist.null = 1}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message