Grokbase Groups Cayenne dev May 2015
FAQ
https://issues.apache.org/jira/browse/CAY-1902
On Fri, May 22, 2015 at 7:25 AM John Huss wrote:

Could you look at my patch that already does this?
On Fri, May 22, 2015 at 7:23 AM Andrus Adamchik (JIRA) wrote:


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

Andrus Adamchik updated CAY-2013:
---------------------------------
Description: This is a minor improvement to Cayenne DB expressions
evaluation capabilities. When evaluating a "db:" expression against a
Persistent object, something like "db:id" currently returns a value of a PK
column, but if a DB column name is not a part of the ID (e.g. "db:name"),
it evaluates to NULL. There is a TODO in ASTDbPath to that extent. So let's
support evaluation of path's corresponding to DbAttributes. (was: This is
a minor improvement to Cayenne DB expressions evaluation capabilities.
Something like "db:id" currently already evaluates to a value of a PK
column, but if a DB column name is not a part of the ID (e.g. "db:name"),
it evaluates to NULL. There is a TODO in ASTDbPath to that extent. So let's
support evaluation of path's corresponding to DbAttributes. )
In-memory evaluation of DB expressions - non-id attributes
----------------------------------------------------------

Key: CAY-2013
URL: https://issues.apache.org/jira/browse/CAY-2013
Project: Cayenne
Issue Type: Improvement
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
Priority: Minor
Fix For: 4.0.M3


This is a minor improvement to Cayenne DB expressions evaluation
capabilities. When evaluating a "db:" expression against a Persistent
object, something like "db:id" currently returns a value of a PK column,
but if a DB column name is not a part of the ID (e.g. "db:name"), it
evaluates to NULL. There is a TODO in ASTDbPath to that extent. So let's
support evaluation of path's corresponding to DbAttributes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 5 | next ›
Discussion Overview
groupdev @
categoriescayenne
postedMay 22, '15 at 12:26p
activeMay 23, '15 at 12:48p
posts5
users2
websitecayenne.apache.org

2 users in discussion

John Huss: 3 posts Andrus Adamchik: 2 posts

People

Translate

site design / logo © 2021 Grokbase