Skip to main content



      Home
Home » Modeling » EMF » [CDO] Make transient referenced object available in all views
[CDO] Make transient referenced object available in all views [message #508197] Sun, 17 January 2010 09:45 Go to next message
Eclipse UserFriend
Hi.

I have an object A that contains a transient reference. That reference is only accessible from the view it were added (also after a commit as it is transient). Is there still a way to automatically have that transient reference present in all views? I guess not (and it is easily fetchable by using view.getObject()), but I am just curious if there is another way.

Regards,
Kai
Re: [CDO] Make transient referenced object available in all views [message #508200 is a reply to message #508197] Sun, 17 January 2010 10:04 Go to previous message
Eclipse UserFriend
Hi Kai,

Transient references are not backed by a CDORevision, hence they are not
shareable across CDOViews. You should also ensure that your objects with
transient values do not get evicted from their view cache, for example
by holding pointers from your application.

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Kai Schlamp schrieb:
> Hi.
>
> I have an object A that contains a transient reference. That reference
> is only accessible from the view it were added (also after a commit as
> it is transient). Is there still a way to automatically have that
> transient reference present in all views? I guess not (and it is
> easily fetchable by using view.getObject()), but I am just curious if
> there is another way.
>
> Regards,
> Kai
Previous Topic:Performance for a EMF data model.
Next Topic:Re: CDO problems
Goto Forum:
  


Current Time: Sun Jul 06 09:14:21 EDT 2025

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

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

Back to the top