You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Dave Dombrosky (JIRA)" <de...@cayenne.apache.org> on 2008/09/30 05:03:11 UTC
[jira] Updated: (CAY-1111) Expression.toEJBQL() should not output
ObjectId
[ https://issues.apache.org/cayenne/browse/CAY-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Dombrosky updated CAY-1111:
--------------------------------
Attachment: encodeAsEJBQL.patch
Added encodeAsEJBQL.patch to fix the issue.
> Expression.toEJBQL() should not output ObjectId
> -----------------------------------------------
>
> Key: CAY-1111
> URL: https://issues.apache.org/cayenne/browse/CAY-1111
> Project: Cayenne
> Issue Type: Bug
> Components: Cayenne Core Library
> Affects Versions: 3.0
> Environment: N/A
> Reporter: Dave Dombrosky
> Assignee: Andrus Adamchik
> Attachments: encodeAsEJBQL.patch
>
>
> 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.