Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » CDO objects not loading correctly
CDO objects not loading correctly [message #59751] |
Tue, 31 October 2006 18:09 |
Mark Geib 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.
|
|
|
Re: CDO objects not loading correctly [message #59775 is a reply to message #59751] |
Tue, 31 October 2006 18:19 |
Eclipse User |
|
|
|
Originally posted by: stepper.sympedia.de
Mark,
I've recorded https://bugs.eclipse.org/bugs/show_bug.cgi?id=162961 for this.
Hopefully I can find the cause tonight because tomorrow morning I'll go
to Zurich for a week.
Cheers
/Eike
geib schrieb:
> 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.
>
|
|
|
Re: CDO objects not loading correctly [message #595046 is a reply to message #59751] |
Tue, 31 October 2006 18:19 |
|
Mark,
I've recorded https://bugs.eclipse.org/bugs/show_bug.cgi?id=162961 for this.
Hopefully I can find the cause tonight because tomorrow morning I'll go
to Zurich for a week.
Cheers
/Eike
geib schrieb:
> 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.
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Goto Forum:
Current Time: Sat Apr 20 01:55:16 GMT 2024
Powered by FUDForum. Page generated in 0.03067 seconds
|