[Seaside] GOODS connection question
Jason Dufair
jase at dufair.org
Mon Jun 14 20:48:34 CEST 2004
In my "allowance" app, I naively have a Piggybank class>>database method
where Piggybank is my model class. It does the following:
database
^(Database isNil or: [Database isConnected not])
ifTrue: [Database := KKDatabase onHost: self dbHostName port: self dbPort]
ifFalse: [Database]
All model objects call the class side save method when they change:
save
self database commit
After some time, I get walkbacks with proxy objects being unable to
connect to the GOODS database. Avi, I remember you talking about tying
the Seaside session to the GOODS session perhaps. Is this what I should
do? How are other people maintaining connections to their GOODS
databases?
--
Jason Dufair - jase at dufair.org
http://www.dufair.org/
"Every word is like an unnecessary stain on silence and nothingness."
-- Beckett
More information about the Seaside
mailing list