urgent 3 level Inheritance problem

2005-03-22 Thread Ziv Yankowitz
Hi All, we have class A, Class B extends A and has a super reference-descriptor to A, Class C extends B and has a super reference-descriptor to B when we retrieve an instance of C and update a field which is part of A class it doesn't work. I debugged OJB source and found out this happens

Re: urgent 3 level Inheritance problem

2005-03-22 Thread Martin Kaln
Ziv Yankowitz wrote: is it possible to configure OJB not to store the references in a Map. Without going into your detailed question; I think you should be able to work around any problems by implementing equals and hashCode in your beans such that instance of A.equals(instance of B) or instance

RE: urgent 3 level Inheritance problem

2005-03-22 Thread Ziv Yankowitz
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 2:39 PM To: OJB Users List Subject: Re: urgent 3 level Inheritance problem Ziv Yankowitz wrote: is it possible to configure OJB not to store the references in a Map. Without going into your detailed question; I think you should

Re: urgent 3 level Inheritance problem

2005-03-22 Thread Martin Kaln
Ziv Yankowitz wrote: I tried to implement the hashCode and equals and it still doesn't work, somehow the beforeImage and the currentImage are working with the same instance of the AnonymousPersistentFieldForInheritance object in map. Silly me. Since your beans are not the objects stored in the

Re: urgent 3 level Inheritance problem

2005-03-22 Thread Armin Waibel
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 2:39 PM To: OJB Users List Subject: Re: urgent 3 level Inheritance problem Ziv Yankowitz wrote: is it possible to configure OJB not to store the references in a Map. Without going into your detailed question; I think you

RE: urgent 3 level Inheritance problem

2005-03-22 Thread Ziv Yankowitz
Hi Armin, so is there a way to avoid the caching of references even in the cost of performance? Thanks Ziv. -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 3:19 PM To: OJB Users List Subject: Re: urgent 3 level Inheritance problem Hi Ziv

Re: urgent 3 level Inheritance problem

2005-03-22 Thread Armin Waibel
[mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 3:19 PM To: OJB Users List Subject: Re: urgent 3 level Inheritance problem Hi Ziv, it's a known issue that odmg-api does not support mapping classes on multiple joined tables (see release notes). I will add some improvements to odmg-api today (hope

RE: urgent 3 level Inheritance problem

2005-03-22 Thread Ziv Yankowitz
Ziv. -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 3:32 PM To: OJB Users List Subject: Re: urgent 3 level Inheritance problem Ziv Yankowitz wrote: Hi Armin, so is there a way to avoid the caching of references even in the cost

Re: urgent 3 level Inheritance problem

2005-03-22 Thread Armin Waibel
leading to OutOfMemory in the end. Thanks A Lot Ziv. -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 3:32 PM To: OJB Users List Subject: Re: urgent 3 level Inheritance problem Ziv Yankowitz wrote: Hi Armin, so is there a way to avoid the caching

Re: urgent 3 level Inheritance problem

2005-03-22 Thread Armin Waibel
22, 2005 2:39 PM To: OJB Users List Subject: Re: urgent 3 level Inheritance problem Ziv Yankowitz wrote: is it possible to configure OJB not to store the references in a Map. Without going into your detailed question; I think you should be able to work around any problems by implementing equals