On Tue, Feb 13, 2007 at 01:31:28AM +0100, sophana wrote:
> I can still see that sqlobject is fetching all data when doing a
> iterating a select.
> But not when accessing a multipleJoin. For the multiple join access to
> refetch the data I have to make a connection.cache.clear(), with or
> without the option.
> Same behaviour when doing a sqlclass.get(id), data is fetched only once
> also with or without the option.
Even with doCache=False SQLObject cache does some caching in cache.py -
CacheFactory.put() stores a weak reference in self.expiredCache, and
CacheFactory.get() retrieves the references if it is not None, i.e. if the
referred object is alive (there are non-weak references to it).
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss