|
|
Re: [EMF Forms][CDO] Make View model being CDO native [message #1268618 is a reply to message #1268250] |
Mon, 10 March 2014 18:59 |
Jonas Helming Messages: 699 Registered: July 2009 |
Senior Member |
|
|
Hi,
Sounds interesting. However, I am not sure, if we really need lazy
loading for the view model. If the view is instantiated, the view model
will be completely in memory anyways. What is the motivation for this?
Regards
Jonas
Am 10.03.2014 09:49, schrieb Paweł Doleciński:
> Hi All,
>
> I'd like to ask if there is any chance to have View Model from EMF Forms
> as a CDO native model?
> I'm using EMF Forms in my RCP-based application with CDO as a model
> repository. I need to store, next to domain model, view models, but as
> that view model is not CDO ready, I am loosing lazy loading.
>
> Have you ever considered providing View model as a CDO native one? Or
> providing two versions of your model?
>
> Cheers,
> Paweł.
|
|
|
|
|
|
|
Re: [EMF Forms][CDO] Make View model being CDO native [message #1271132 is a reply to message #1271125] |
Fri, 14 March 2014 10:33 |
Paweł Doleciński Messages: 44 Registered: January 2014 |
Member |
|
|
Jonas, I agree it would be much easier.
But I have a requirement to store my models in CDO.
And even if you store them and load locally I have a problem with references.
By chain of references I mean that I have a view model which has a reference to another one which again has a reference to another one and so on.
So if I loaded the first view model, all of the referenced model would be loaded as well. And here is where CDO comes with lazy loading.
Cheers,
Paweł.
[Updated on: Fri, 14 March 2014 10:33] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05999 seconds