[CDO] DBTable exists when committing [message #511384] |
Mon, 01 February 2010 08:38  |
Eclipse User |
|
|
|
Hi,
I encounter problems when migrating existing EMF model for CDO.
Model "A" contains an object with type "DispatcherSystem".
Model "A" also has dependency to model "B", which also (unfortunately) contains an object with type "DispatcherSystem".
However, since they are contained in different ecore models they have different namespaceURIs. Hence, it should work also with CDO I assumed...
But it doesn't.
I'm not sure if it the issue with having "same" type declared in multiple models causing the problem, or it is something else.
When trying to commit (in CDO editor) an object from model "A" an error occurs telling that " org.eclipse.net4j.db.DBException: DBTable exists: DispatcherSystem".
I'm running CDO 2.0.0 at the moment. Is there some correction/updates concerning this issue in later versions? 2.0 maintenance? 3.0?
Regards,
Joachim
|
|
|
|
Re: [CDO] DBTable exists when committing [message #511967 is a reply to message #511398] |
Wed, 03 February 2010 09:50  |
Eclipse User |
|
|
|
Thanks Eike!
Changing the config property http:// wiki.eclipse.org/CDO_Server_Configuration_Reference#Property _qualifiedNames fixed my problems (in combination with using the latest R2_0_maintenance branch, which included a bugfix I also needed)
BTW. Will try to remember the stack trace next time
Cheers
Eike Stepper wrote on Mon, 01 February 2010 08:53 | Hej Joachim ,
When you encounter problems please show us a stack trace 
Without that I can only assume that your DB schema can not be generated
due to table name collisions. You may want to play with the config
properties mentiend here:
http://wiki.eclipse.org/CDO_Server_Configuration_Reference#P roperty_qualifiedNames
Cheers
/Eike
----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
J. Rietz schrieb:
> Hi,
>
> I encounter problems when migrating existing EMF model for CDO.
>
> Model "A" contains an object with type "DispatcherSystem".
> Model "A" also has dependency to model "B", which also (unfortunately)
> contains an object with type "DispatcherSystem".
> However, since they are contained in different ecore models they have
> different namespaceURIs. Hence, it should work also with CDO I assumed...
> But it doesn't.
>
> I'm not sure if it the issue with having "same" type declared in
> multiple models causing the problem, or it is something else.
> When trying to commit (in CDO editor) an object from model "A" an
> error occurs telling that " org.eclipse.net4j.db.DBException: DBTable
> exists: DispatcherSystem".
>
> I'm running CDO 2.0.0 at the moment. Is there some correction/updates
> concerning this issue in later versions? 2.0 maintenance? 3.0?
>
>
> Regards,
> Joachim
|
|
|
|
Powered by
FUDForum. Page generated in 0.04416 seconds