You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by mike osterhout <mi...@gmail.com> on 2016/05/05 04:59:28 UTC
query next/previous object
Hi,
I am a little confused on the best way to query the next/previous object in
the tree. In a traditional database it would just be a query where a number
is > or < than the id. How can I do the same with Jackrabbit? It seems that
the best way is to query by jcr:created but that doesn't seem stable.
--
Regards,
Mike
Re: query next/previous object
Posted by mike osterhout <mi...@gmail.com>.
Maybe overthinking this one. Using microseconds when checking for date
seems to be unique enough.
Thanks
On Thu, May 5, 2016 at 12:59 AM, mike osterhout <mi...@gmail.com>
wrote:
> Hi,
>
> I am a little confused on the best way to query the next/previous object
> in the tree. In a traditional database it would just be a query where a
> number is > or < than the id. How can I do the same with Jackrabbit? It
> seems that the best way is to query by jcr:created but that doesn't seem
> stable.
>
> --
> Regards,
> Mike
>
--
Regards,
Mike