cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Menard <nirvd...@gmail.com>
Subject Re: [jira] Closed: (CAY-1260) (Exerimental) Modeler support for embeddables and embedded attributes
Date Sun, 25 Oct 2009 14:33:18 GMT
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 <andrus@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) <jira@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
>
>

Mime
View raw message