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] Updated: (CAY-1111) Expression.toEJBQL() support for single-column PK Persistent objects
Date Sun, 28 Mar 2010 14:07:27 GMT

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

Andrus Adamchik updated CAY-1111:
---------------------------------

    Fix Version/s:     (was: 3.1M1)
                   3.0RC3
          Summary: Expression.toEJBQL() support for single-column PK Persistent objects  (was:
Expression.toEJBQL() should not output ObjectId)

reducing the scope of this issue to just single-column PK scalars per Dave's patch. A more
generic implementation will be tracked as CAY-1408. 

> Expression.toEJBQL() support for single-column PK Persistent objects
> --------------------------------------------------------------------
>
>                 Key: CAY-1111
>                 URL: https://issues.apache.org/jira/browse/CAY-1111
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.0
>         Environment: N/A
>            Reporter: Dave Dombrosky
>            Assignee: Andrus Adamchik
>             Fix For: 3.0RC3
>
>         Attachments: encodeAsEJBQL.patch, toEJBQL.txt, toEJBQL_1.txt
>
>
> The Expression.toEJBQL method in ASTScalar.java needs to be fixed so that the PK is used
as the value instead of the ObjectId.
> Currently, the method outputs things like "a.artist = <ObjectId:Artist, id=1234>",
which is not valid EJBQL syntax.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message