Re: [ojb-users] Performance and other stuff
Brought to you by:
thma
From: Jan A. <po...@ag...> - 2002-05-17 11:36:56
|
I think see things a bit more clear now - read some of the pages again and found some more :-) In a web setting, one way of making sure that no one updates a object that someone else is "reading" is to start the request handler with a tx.begin and then commit at the very end of the request handler? And say that I have a page that permits a user to update personal information. Then I would start a transaction, but it en the http session and commit on the next request but obtaining the transaction object from the session, updating the object in question and committing the transaction? Jan Agermose |