Skip to main content



      Home
Home » Modeling » EMF » [CDO]Unable to resolve CDOClassifierRef error
[CDO]Unable to resolve CDOClassifierRef error [message #1554961] Fri, 09 January 2015 09:20 Go to next message
Eclipse UserFriend
I am facing a problem while commiting model to CDO repository. This problem is due to one composite association. If i remove this composite assocation from my ECORE then there is no problem with commiting model.

Do you know how can i fix "Unable to resolve CDOClassifierRef"?

Cheers,
Re: [CDO]Unable to resolve CDOClassifierRef error [message #1554979 is a reply to message #1554961] Fri, 09 January 2015 09:34 Go to previous messageGo to next message
Eclipse UserFriend
Am 09.01.2015 um 15:20 schrieb ModelGeek Mising name:
> I am facing a problem while commiting model to CDO repository. This problem is due to one composite association. If i
> remove this composite assocation from my ECORE then there is no problem with commiting model.
>
> Do you know how can i fix "Unable to resolve CDOClassifierRef"?
Have you added that containment reference after the model was first deployed (committed) to the server?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO]Unable to resolve CDOClassifierRef error [message #1555043 is a reply to message #1554979] Fri, 09 January 2015 10:24 Go to previous messageGo to next message
Eclipse UserFriend
yes i have been changing model and have been commiting. How can i completely flush the repository? Do old commits effects if we do changes in ecore? I have tried to run example client to delete all old resources on the repository but it gives me error....

thanks for the help...

[Updated on: Fri, 09 January 2015 10:26] by Moderator

Re: [CDO]Unable to resolve CDOClassifierRef error [message #1555064 is a reply to message #1555043] Fri, 09 January 2015 10:37 Go to previous messageGo to next message
Eclipse UserFriend
Am 09.01.2015 um 16:24 schrieb ModelGeek Mising name:
> yes i have been changing model and have been commiting. How can i completely flush the repository?
You can drop all tables or just create a new database.

> Do old commits effects if we do changes in ecore?
CDO stores the meta models in the database and creates tables according to them. Changing the meta models after they've
been stored and mapped is not supported. You need a fresh repository then.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO]Unable to resolve CDOClassifierRef error [message #1555108 is a reply to message #1555064] Fri, 09 January 2015 11:15 Go to previous message
Eclipse UserFriend
thanks for the help. I have tried with new database and it is working now.

Is there any way to delete an old database. I am trying with CDO Client exmaple. I can see the resources and when i try to delete them i am getting error. I can not find any option of delete all or clear all somthing like that to clear every thing.

How to drop database or table when using h2 as db adapter and database as mongodb... (i am using the example for the server and repository)? Is there any terminal avaialble to execute quiries?

thanks again...

Cheers
Previous Topic:Is there a way to autofill a modelinstance with data?
Next Topic:[CDO] How to avoid LocalCommitConflictException
Goto Forum:
  


Current Time: Fri Aug 29 16:57:15 EDT 2025

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

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

Back to the top