Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO] managing model changes
[CDO] managing model changes [message #615908] Mon, 17 March 2008 16:36
Alexej Spas is currently offline Alexej SpasFriend
Messages: 22
Registered: July 2009
Junior Member
Hallo Eike

I have a question about CDO concepts in managing the underlying models:

I have created an e-core model and generated native CDO classes.
Afterwards I registered it on CDO server and filled it with data. After
some time my model has changed (I add some classes and changed some old
ones). After trying to work with my old data I got error:

java.lang.IllegalStateException: range.getCount() != metaIDRange.getCount()
org.eclipse.emf.internal.cdo.CDOSessionImpl.registerEPackage (
org.eclipse.emf.internal.cdo.CDOPackageRegistryImpl$CDOPacka geDescriptor.getEPackage(
at solve(
org.eclipse.emf.cdo.internal.protocol.model.CDOPackageImpl.r esolve(
org.eclipse.emf.cdo.internal.protocol.model.CDOPackageImpl.l ookupClass(
org.eclipse.emf.cdo.internal.protocol.model.CDOClassRefImpl. resolve(
org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl. <init>(
at nfirming(
at nfirming(
at org.eclipse.net4j.signal.Signal.runSync(

Obviously this was a reaction on my model changes, but not quite the one I
would expect :). Now the question: What is the recommended way of dealing
with model changes (updates)? Do I have a possibility to reuse data stored
using old model with my new model?

And one more question: What is the experience with running CDO in
production environment with high load? What are the examples of
applications where CDO is used in production mode that you know about?

Alexej Spas
Previous Topic:[CDO] DanglingHREFException after putEPackage()
Next Topic:Teneo API specification online?
Goto Forum:

Current Time: Sun Aug 07 16:59:54 GMT 2022

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

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

Back to the top