AW: [OJB-developers] Extent aware cache
Brought to you by:
thma
From: Mahler T. <tho...@it...> - 2001-10-11 09:37:35
|
Hi Michal, The cache uses Identity objects as keys. thus the problem is related to Identies and not so much to the cache. Identities are composed from and objects Class and the Primary key values. Currently obtaining an objects Identity does NOT return an extent aware identity. I don't know if it is possible to change this behaviour without any problems. I'll check it and will try to provide a fix. Thanks, Thomas > > After reading objects B and C should be: > B.aReference == C.aImplReference. > > But it is not!!! > The problem is that cache is not aware of extents so: > cache(B.aReference) puts <"A{x}", B.aReference> into the hashtable and > lookup(C.aImplReference) looks for "AImpl{x}" and returns null. > > Regards, > Michal > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > |