The Artima Developer Community
Sponsored Link

Java Answers Forum
jackrabbit root version and base version delete regarding

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
kamiya maini

Posts: 2
Nickname: mainika007
Registered: Jun, 2008

jackrabbit root version and base version delete regarding Posted: Jun 27, 2008 8:52 AM
Reply to this message Reply
Advertisement
VersionHistory.removeVersion() can be used to remove the versions other than the root version and the base version. How can we delete the root version and the base version?

Here is the problem that i am facing:
The root version has the uuid of the base version as its successor and the base version has the uuid of the root version as its predecessor. Since a reference is existing i am unable to delete each of them and it gives me a Referential Integrity Exception.

I tried using node.removeMixin() but that only removes the reference of the version history from the actual node and does not delete the version history.........

Topic: help..on Next n Previous Button Previous Topic   Next Topic Topic: Javax.jcr package

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use