Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:45 Go to next message
Kai Schlamp is currently offline Kai SchlampFriend
Messages: 344
Registered: July 2009
Senior Member
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 15:04 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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: Thu Apr 25 00:36:03 GMT 2024

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

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

Back to the top