Thanks, 

I've got it running and it appears to be working fine.
 Only change is that I needed to move the Session
initialization about the Context Initialization in
MiddleKit/Application.py __init__

> >   I wonder if MiddleKit has a mechanism to discard
> objects in memory?
> 
> ObjectStore has a clear() method which can be called
> if there are no
> outstanding changes; it causes the store to clear
> its cache.  All
> subsequent fetch*() calls will instantiate fresh
> objects.  Be careful
> not to shoot yourself in the foot, though: if you
> have a reference to a
> middle object, then call store.clear(), and change
> the objects's
> attributes without re-fetching it from the store,
> you will probably end
> up with undefined results. :)

So just to clarify, if you have a long running
AppServer, the store will grow to contain all of the
database objects that have been queried for?  Do
people just run clear regularly, or is this something
I don't need to worry about?


Cheers,
Wayne


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to