On 7/27/07, Sudhan <[EMAIL PROTECTED]> wrote: > > 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 >
Sudhan, I think you may need to make a distinction between fetching all versions information (which shouldn't be expensive) and fetching all versions (which may be expensive depending on how many versions there are and the size of each version). ./alex -- .w( the_mindstorm )p. > -- > 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. > >
