Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO]Unable to resolve CDOClassifierRef error
[CDO]Unable to resolve CDOClassifierRef error [message #1554961] Fri, 09 January 2015 14:20 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
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 14:34 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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 15:24 Go to previous messageGo to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
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 15:26]

Report message to a moderator

Re: [CDO]Unable to resolve CDOClassifierRef error [message #1555064 is a reply to message #1555043] Fri, 09 January 2015 15:37 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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 16:15 Go to previous message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
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 Apr 19 09:40:22 GMT 2024

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

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

Back to the top