jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: What about performance when getting newest version of a node
Date Tue, 15 Jul 2008 11:26:51 GMT
Julian Reschke schrieb:
> Michael Wechner wrote:
>> Hi
>>
>> IIUC in the most simple case one can do
>>
>> node.getVersionHistory().getRootVersion()
>>
>> in order to get the "newest" (most recent) version, right?
>
> No, that would be the oldest one, me thinks.
>
> I think what you need is:
>
> node.getBaseVersion().

thanks very much for clarifying this

Cheers

Michael
>
>> ...
>
> BR, Julian


Mime
View raw message