You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2009/10/25 11:06:59 UTC
[jira] Closed: (CAY-1260) (Exerimental) Modeler support for
embeddables and embedded attributes
[ https://issues.apache.org/jira/browse/CAY-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1260.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.0)
3.0 beta 1
> (Exerimental) Modeler support for embeddables and embedded attributes
> ---------------------------------------------------------------------
>
> Key: CAY-1260
> URL: https://issues.apache.org/jira/browse/CAY-1260
> Project: Cayenne
> Issue Type: Task
> Components: CayenneModeler GUI
> Affects Versions: 3.0
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Fix For: 3.0 beta 1
>
> Attachments: 0001-CAY-1260.patch, Embeddable.txt, Embeddable1.txt, icon-embeddable.gif, icon-new_embeddable.gif, Inspector1_5.txt, InspectorObjAttrAndEmbAttributes.txt, InspectorObjAttrAndEmbAttributes.txt
>
>
> Need to implement Modeler support for mapping embeddable objects and including them in ObjEntities.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Closed: (CAY-1260) (Exerimental) Modeler support for
embeddables and embedded attributes
Posted by Kevin Menard <ni...@gmail.com>.
This sounds pretty useful. I really need to finish reading that JPA
spec. I think I made it through 80 pages or so.
--
Kevin
On Sun, Oct 25, 2009 at 9:55 AM, Andrus Adamchik <an...@objectstyle.org> wrote:
> This is an ORM concept inspired in Cayenne by the JPA spec (the term is
> taken from JPA as well).
>
> An embeddable is a reusable compound ObjAttribute type that maps to multiple
> DbAttributes. E.g. if you have "person" and "organization" tables, that both
> have address columns in them (address1, address2, city, etc.). You can
> create an embeddable "Address", and then use it in both Person and
> Organization entities as a single attribute, even though it maps to multiple
> columns.
>
> We do need a docs entry on that. Hopefully will catch up during beta.
>
> Andrus
>
> On Oct 25, 2009, at 3:38 PM, Andrey Razumovsky wrote:
>
>> Hi Andrus,
>>
>> Are there any docs about embeddables? I suppose I'm not the only one who
>> doesn't know what it is :)
>>
>> Thanks,
>>
>> 2009/10/25 Andrus Adamchik (JIRA) <ji...@apache.org>
>>
>>>
>>> [
>>>
>>> https://issues.apache.org/jira/browse/CAY-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>>>
>>> Andrus Adamchik closed CAY-1260.
>>> --------------------------------
>>>
>>> Resolution: Fixed
>>> Fix Version/s: (was: 3.0)
>>> 3.0 beta 1
>>>
>>>> (Exerimental) Modeler support for embeddables and embedded attributes
>>>> ---------------------------------------------------------------------
>>>>
>>>> Key: CAY-1260
>>>> URL: https://issues.apache.org/jira/browse/CAY-1260
>>>> Project: Cayenne
>>>> Issue Type: Task
>>>> Components: CayenneModeler GUI
>>>> Affects Versions: 3.0
>>>> Reporter: Andrus Adamchik
>>>> Assignee: Andrus Adamchik
>>>> Fix For: 3.0 beta 1
>>>>
>>>> Attachments: 0001-CAY-1260.patch, Embeddable.txt,
>>>
>>> Embeddable1.txt, icon-embeddable.gif, icon-new_embeddable.gif,
>>> Inspector1_5.txt, InspectorObjAttrAndEmbAttributes.txt,
>>> InspectorObjAttrAndEmbAttributes.txt
>>>>
>>>>
>>>> Need to implement Modeler support for mapping embeddable objects and
>>>
>>> including them in ObjEntities.
>>>
>>> --
>>> This message is automatically generated by JIRA.
>>> -
>>> You can reply to this email to add a comment to the issue online.
>>>
>>>
>>
>>
>> --
>> Andrey
>
>
Re: [jira] Closed: (CAY-1260) (Exerimental) Modeler support for embeddables and embedded attributes
Posted by Andrus Adamchik <an...@objectstyle.org>.
This is an ORM concept inspired in Cayenne by the JPA spec (the term
is taken from JPA as well).
An embeddable is a reusable compound ObjAttribute type that maps to
multiple DbAttributes. E.g. if you have "person" and "organization"
tables, that both have address columns in them (address1, address2,
city, etc.). You can create an embeddable "Address", and then use it
in both Person and Organization entities as a single attribute, even
though it maps to multiple columns.
We do need a docs entry on that. Hopefully will catch up during beta.
Andrus
On Oct 25, 2009, at 3:38 PM, Andrey Razumovsky wrote:
> Hi Andrus,
>
> Are there any docs about embeddables? I suppose I'm not the only one
> who
> doesn't know what it is :)
>
> Thanks,
>
> 2009/10/25 Andrus Adamchik (JIRA) <ji...@apache.org>
>
>>
>> [
>> https://issues.apache.org/jira/browse/CAY-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>> ]
>>
>> Andrus Adamchik closed CAY-1260.
>> --------------------------------
>>
>> Resolution: Fixed
>> Fix Version/s: (was: 3.0)
>> 3.0 beta 1
>>
>>> (Exerimental) Modeler support for embeddables and embedded
>>> attributes
>>> ---------------------------------------------------------------------
>>>
>>> Key: CAY-1260
>>> URL: https://issues.apache.org/jira/browse/CAY-1260
>>> Project: Cayenne
>>> Issue Type: Task
>>> Components: CayenneModeler GUI
>>> Affects Versions: 3.0
>>> Reporter: Andrus Adamchik
>>> Assignee: Andrus Adamchik
>>> Fix For: 3.0 beta 1
>>>
>>> Attachments: 0001-CAY-1260.patch, Embeddable.txt,
>> Embeddable1.txt, icon-embeddable.gif, icon-new_embeddable.gif,
>> Inspector1_5.txt, InspectorObjAttrAndEmbAttributes.txt,
>> InspectorObjAttrAndEmbAttributes.txt
>>>
>>>
>>> Need to implement Modeler support for mapping embeddable objects and
>> including them in ObjEntities.
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>
>
> --
> Andrey
Re: [jira] Closed: (CAY-1260) (Exerimental) Modeler support for
embeddables and embedded attributes
Posted by Andrey Razumovsky <ra...@gmail.com>.
Hi Andrus,
Are there any docs about embeddables? I suppose I'm not the only one who
doesn't know what it is :)
Thanks,
2009/10/25 Andrus Adamchik (JIRA) <ji...@apache.org>
>
> [
> https://issues.apache.org/jira/browse/CAY-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Andrus Adamchik closed CAY-1260.
> --------------------------------
>
> Resolution: Fixed
> Fix Version/s: (was: 3.0)
> 3.0 beta 1
>
> > (Exerimental) Modeler support for embeddables and embedded attributes
> > ---------------------------------------------------------------------
> >
> > Key: CAY-1260
> > URL: https://issues.apache.org/jira/browse/CAY-1260
> > Project: Cayenne
> > Issue Type: Task
> > Components: CayenneModeler GUI
> > Affects Versions: 3.0
> > Reporter: Andrus Adamchik
> > Assignee: Andrus Adamchik
> > Fix For: 3.0 beta 1
> >
> > Attachments: 0001-CAY-1260.patch, Embeddable.txt,
> Embeddable1.txt, icon-embeddable.gif, icon-new_embeddable.gif,
> Inspector1_5.txt, InspectorObjAttrAndEmbAttributes.txt,
> InspectorObjAttrAndEmbAttributes.txt
> >
> >
> > Need to implement Modeler support for mapping embeddable objects and
> including them in ObjEntities.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
--
Andrey