jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From philip andrew <philip14...@gmail.com>
Subject Are child nodes ordered collections? or is order not guaranteed as in databases?
Date Sun, 31 Jan 2010 05:55:22 GMT

I am making a CMS with Jackrabbit, I wish to know, are the child nodes of a
node ordered? Can I change the order of the nodes?

Previously, I was using (sorry this is Scala code, just think of the same in
  @Collection var children:java.util.List[OPageNode] = _

But I found that this created paths that I didn't like, ie, the node had a
element node called children and collection elements, so I moved back to
just having nodes at path locations.
So, I am not using the above method of using a @Collection, I am just using
the normal nodes at paths.

Thanks, Philip

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message