Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » CDO objects not loading correctly
CDO objects not loading correctly [message #595023] Tue, 31 October 2006 18:09
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
Eike,

I am now running the latest maintenance release for CDO and NET4J. No
patches.

But, I am still having some issues that I need to track down.

If I can use the analogy of the library that will help. Assume that I have
a class for Library which 'contains' all books. I also have a class, or
classes, for genre that may have non-containment references to books. So a
book could have references to-from a genre, and always has a reference to
the Library, which is containment.

Now I want to load all the books so I call library.getBooks(). This works
consistently. And if I subsequently, during the same session, load a
genre with a call to fiction.getBooks() that works as well.

However, if I restart to create a new session, and do the genre load first
I will see the books in the genre loaded correctly, but a subsequent call
to load all the books in the library will not have any of the books
initially loaded in the genre.

This is happening consistently, every time.

It appears that loading the containment references from Library is doing
something a bit different than the load of non-containment references for
the genre. If the initial load is via containment all the non-containment
references are correct. However, if the initial load is via
non-containment references then the other references, specifically the
containment reference, is not correct.

I suspect this is strictly a client side issue since the object is loaded
from the server. It seems to be the handling of setting all the references
for an object is not correct.

Any ideas...?

Thanks,
Mark.
Previous Topic:Specifying Annotations in Rose
Next Topic:CDO objects not loading correctly
Goto Forum:
  


Current Time: Thu Apr 25 12:21:26 GMT 2024

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

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

Back to the top