jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boni Gopalan (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JCR-1761) OCM:Add the ability to specify name of a Collection Element through XML Mapping files.
Date Sun, 28 Sep 2008 10:19:44 GMT

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

Boni Gopalan closed JCR-1761.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.4.1)
                   1.5

Issue resolved with the availability of 1.5-OCM-DTD.  Will provide a testcase.

> OCM:Add the ability to specify name of a Collection Element through XML Mapping files.
> --------------------------------------------------------------------------------------
>
>                 Key: JCR-1761
>                 URL: https://issues.apache.org/jira/browse/JCR-1761
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: jackrabbit-ocm
>    Affects Versions: 1.5
>         Environment: JAVA
>            Reporter: Boni Gopalan
>             Fix For: 1.5
>
>
> Collection elements get mapped to a node "collection-element" when the mappings are specified
through XML config files.  We need the ability to control this name through configuration.
 Without that feature querying object structures is painful.  For example I have structure
as below :
> class Foo{
> String id;
>  List<Foo> children
>  List<Foo> friends
> }
> And I have a need to query a Foo with id : 100 .  If I am interested only in child nodes
with id = 110 , I could specify through the Filter that look at only node names , "childFoo"
; If I have the flexibility of adding a child node name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message