Skip to main content



      Home
Home » Modeling » EMF » Is it possible to store generated EMF model directly to CDO?
Is it possible to store generated EMF model directly to CDO? [message #1741964] Fri, 29 July 2016 09:27 Go to next message
Eclipse UserFriend
From the document that I have followed, I understood that every element in EMF model to extend CDOObject. Is this mandatory to extend CDOObject? If yes, then I have an EMF model which is actually developed from other team and don't have permission to extend model class CDOObject. Is there any alternative solution in such case?? otherwise I would request them to update this changes particularly for me.

I have tried to save model elements without extending them to CDOObject, I have been getting Stackoverflow error. I want to be sure this is because of the code modification is required.
Re: Is it possible to store generated EMF model directly to CDO? [message #1741965 is a reply to message #1741964] Fri, 29 July 2016 10:14 Go to previous message
Eclipse UserFriend
Am 29.07.2016 um 16:27 schrieb Prashanth Parameshwara:
> From the document that I have followed, I understood that every element in EMF model to extend CDOObject. Is this
> mandatory to extend CDOObject?
No, it's not strictly required. CDO also supports normally generated models (so called "legacy models").

> If yes, then I have an EMF model which is actually developed from other team and don't have permission to extend model
> class CDOObject. Is there any alternative solution in such case?? otherwise I would request them to update this
> changes particularly for me.
Of course, it's better to regenerate the models particularly for CDO (so called "native models"). Only then you have the
scalability benefits and can scale your model instances to arbitrary sizes. Legacy models don't support lazy loading and
automatic unloading.

>
> I have tried to save model elements without extending them to CDOObject, I have been getting Stackoverflow error. I
> want to be sure this is because of the code modification is required.
Maybe I can comment on the error if you show the stack trace...

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:difference between "eContents" and "eAllContents"
Next Topic:Re: difference between "eContents" and "eAllContents"
Goto Forum:
  


Current Time: Mon Jul 07 04:42:57 EDT 2025

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

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

Back to the top