You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2007/12/22 22:55:44 UTC
[JIRA] Created: (CAY-948) Implement flattened attributes in Cayenne
Implement flattened attributes in Cayenne
-----------------------------------------
Key: CAY-948
URL: https://issues.apache.org/cayenne/browse/CAY-948
Project: Cayenne
Issue Type: Task
Components: Cayenne Core Library
Affects Versions: 3.0
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
Fix For: 3.0
We need to support flattened attributes in Cayenne.... JPA has a @SecondaryTable annotation, that is essentially a one step flattened attribute and IIRC Andriy implemented a similar mapping scenario long time ago (Cayenne 1.1), only without a Modeler support. So we need to finally make it official, create test cases, modeler support, etc.
In Cayenne API terms, flattened attribute is an object attribute mapped over a DbRelationship to a joined table column. A few things to consider:
* Whether to support multi-step flattened attributes
* Whether to load such attributes eagerly or lazily (JPA's default for @Basic is EAGER, but it is configurable...)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[JIRA] Closed: (CAY-948) Implement flattened attributes in Cayenne
Posted by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org>.
[ https://issues.apache.org/cayenne/browse/CAY-948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-948.
-------------------------------
Resolution: Fixed
works with Cayenne classic and JPA... Still missing Modeler support
> Implement flattened attributes in Cayenne
> -----------------------------------------
>
> Key: CAY-948
> URL: https://issues.apache.org/cayenne/browse/CAY-948
> Project: Cayenne
> Issue Type: Task
> Components: Cayenne Core Library
> Affects Versions: 3.0
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Fix For: 3.0
>
>
> We need to support flattened attributes in Cayenne.... JPA has a @SecondaryTable annotation, that is essentially a one step flattened attribute and IIRC Andriy implemented a similar mapping scenario long time ago (Cayenne 1.1), only without a Modeler support. So we need to finally make it official, create test cases, modeler support, etc.
> In Cayenne API terms, flattened attribute is an object attribute mapped over a DbRelationship to a joined table column. A few things to consider:
> * Whether to support multi-step flattened attributes
> * Whether to load such attributes eagerly or lazily (JPA's default for @Basic is EAGER, but it is configurable...)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.