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: [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 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to