FAQ
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

Search Discussions

  • Andrus Adamchik at Oct 25, 2009 at 2:08 pm
    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
  • Kevin Menard at Oct 25, 2009 at 2:34 pm
    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 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriescayenne
postedOct 25, '09 at 1:39p
activeOct 25, '09 at 2:34p
posts3
users3
websitecayenne.apache.org

People

Translate

site design / logo © 2022 Grokbase