From: Jason Hildebrand <jason@pe...> - 2002-01-08 18:12:10
First off, thanks to the webware developers - webware is wonderful!
I'm getting into the MiddleKit stuff (and enjoying it), and one
question which isn't obvious from the documentation (or the source) is how the
ObjectStore is intended to be used.
I'll be using MiddleKit Objects from Python Servlets -- should I
have an instance of MySQLObjectStore for each user (i.e. stored
in the session)? This seems to make sense to me, since
the store keeps track of "uncommitted" changes, which are
user-specific (i.e. users' changes are isolated from each
other until committed to the DB).
Does the current code assume there is a 1:1 correspondence between ObjectStore
instances and database connections (it appears so if
*ObjectStore.retrieveLastInsertId is to work properly). Or is there
some provision for database connection pooling?
I'd appreciate it if someone could confirm my inklings
or set me straight.
Jason D. Hildebrand