Daniel Perry wrote:
Would it be possible to have a class called stats, which is put into the
session, and override the finalize method, so that this writes to the
database the calls super.finalize? Would this work?
Just as a followup to Frank's correct answer, _never_ count on a
finalize method; they are not guaranteed to be run, and most certainly
not guaranteed to be run in a timely manner. They're definitely not like
a C++ destructor and have limited usefulness.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]