Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:27 Go to next message
Prashanth Parameshwara is currently offline Prashanth ParameshwaraFriend
Messages: 8
Registered: July 2016
Junior Member
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 14:14 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6583
Registered: July 2009
Senior Member
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: Sat Jul 24 05:29:51 GMT 2021

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

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

Back to the top