[ http://issues.apache.org/jira/browse/JCR-100?page=history ]
Stefan Guggisberg closed JCR-100:
---------------------------------
Resolution: Fixed
applied patch (rev. 160863)
> contrib/orm-persistence Node ordering not supported
> ---------------------------------------------------
>
> Key: JCR-100
> URL: http://issues.apache.org/jira/browse/JCR-100
> Project: Jackrabbit
> Type: Bug
> Reporter: Serge Huber
> Priority: Minor
> Attachments: orm-20050407-1150-fix-nodeordering.patch
>
> Due to a limitation in the implementation, node ordering isn't supported (it is optional
in the specification but Jackrabbit provides support for it) in the ORM persistence manager.
This is due to the fact that in the database, although same-name sibling ordering is supported,
no guarantee is given for the ordering of nodes in the child list.
> Jackrabbit has some tests that use node ordering, such as the DerefQueryLevel1Test, where
we look for the first property of type reference by using the following code :
> Property refProp = PropertyUtil.searchProp(session, testRootNode, PropertyType.REFERENCE);
> The searchProp method traverses the tree and stops at the first property of the type
specified. If node ordering is not correct, we return a property that is not the expected
one (in the case of the DerefTest we were returning a multi-values reference property), which
can could test failures.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira