Skip to main content



      Home
Home » Modeling » EMF » [CDO] ObjectCommitHistory get N last commits/items
[CDO] ObjectCommitHistory get N last commits/items [message #1008198] Mon, 11 February 2013 06:48 Go to next message
Eclipse UserFriend
Is there a way to tell the CDOObjectHistory to return the N last/latest commits?
Re: [CDO] ObjectCommitHistory get N last commits/items [message #1008213 is a reply to message #1008198] Mon, 11 February 2013 08:51 Go to previous message
Eclipse UserFriend
OK, this will do the trick:

      CDOObjectHistory cdoObjectHistory = cdoObject.cdoHistory();
      cdoObjectHistory.setLoadCount(loadCount);


The loadCount option tells it to fetch N (=loadCount) elements.

Thanks, Eike!

Erdal Karaca wrote on Mon, 11 February 2013 12:48
Is there a way to tell the CDOObjectHistory to return the N last/latest commits?

Previous Topic:[EMF] ClassCastException: $Proxy cannot be cast...
Next Topic:uri fragments vs. ID's in serialized Non-Containment references
Goto Forum:
  


Current Time: Wed Jul 23 07:50:12 EDT 2025

Powered by FUDForum. Page generated in 0.05602 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top