db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Waibel" <ar...@code-au-lait.de>
Subject [CVS OJB tests fail] broker leak in cache
Date Fri, 14 Feb 2003 09:00:54 GMT
Hi all,

in CVS ObjectCacheDefaultImpl we had
a PB leak.
This is caused by using PBF.defaultPB calls
without closing the broker. Jakob add this to avoid
using of deprecated Identity constructor.
But the real problem is that this solution never
will work, because of using the default broker.

Thus I propose the following changes in ObjectCache:
a) remove the
public void cache(Object obj) throws
ClassNotPersistenceCapableException;
method, this will never work.

b) change method
public void remove(Object obj);
to
public void remove(Identity oid);

What do you think?


regards,
Armin


Mime
View raw message