[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ojb-user
Subject:    Re: urgent 3 level Inheritance problem
From:       Armin Waibel <arminw () apache ! org>
Date:       2005-03-22 20:11:30
Message-ID: 42407BF2.8020804 () apache ! org
[Download RAW message or body]

Armin Waibel wrote:
> 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 so ;-)) which seems 
> to solve the problems with inheritance (expect the one that is known in 
> PB-api).
>

checked in the changes in OJB_1_0_RELEASE branch. Inheritance based on 
"mapping classes on multiple joined tables" is now working with the 
odmg-api (expect the known issue in PB-api - see release-notes).

Armin


> regards,
> Armin
> 
> 
> Ziv Yankowitz wrote:
> 
>> Thanks for the response,
>>
>> 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.
>>
>> Thanks Ziv
>>
>> -----Original Message-----
>> From: mkalen@apache.org [mailto:mkalen@apache.org]
>> 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 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 of A>.eqauls(<instance of C>) etc never returns true.
>>
>> Regards,
>>   Martin
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-user-help@db.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-user-help@db.apache.org
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic