jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sudhan <s.kan...@gmail.com>
Subject Fastest way to check if any version got incremented for a specific node
Date Fri, 27 Jul 2007 18:08:48 GMT

Hi,

I have an application, which requires to present all the version details for
each node. Now the thing is every time when some body hits on the specific
node (GUI) it should fetch all its version history and show all the version
nodes in hiearchy(as a TREE Structure). While doing this operation it
requires lot of overhead in fetching each and every version node. ie. the
time taken to pull out all the version is pretty high if the version history
is too big.

Now is there a way that i can just easily count number of version nodes
without actually traversing the version history. This way  i will just go
and compare this count and if it is more then existing one then and then it
will fetch it from repository else i can display the detail tree of versions
from the cached data which i already have it.

Any help is really appreciated.


Sudhan

-- 
View this message in context: http://www.nabble.com/Fastest-way-to-check-if-any-version-got-incremented-for-a-specific-node-tf4159396.html#a11834192
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message