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] Created: (JCR-1761) OCM:Add the ability to specify name of a Collection Element through XML Mapping files.
Date Wed, 24 Sep 2008 08:13:44 GMT
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.4.1


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