|
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 |
|
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
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 1.60683 seconds