On 6/27/07, Michael Lackhoff <[EMAIL PROTECTED]> wrote: > I still don't understand why this is safe (I would like it to be, of course) > Think of this scenario (all with a mod_perl app with many users): User one > submits a form that does two loosely related write operations (no RDBO > sub-objects) after the first $obj->save the request of another user is > finished and does a commit. Now -- because both share the same $dbh/connection > due to Apache::DBI -- the save of user one is also commited and if something > goes wrong in the second write operation data integrity is lost. > > What did I miss?
Only one user can be using a particular apache child process at a time, and each apache child process has its own db connection. -John ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object