On 7/20/05, Gregory Block <[EMAIL PROTECTED]> wrote: > > On 19 Jul 2005, at 18:04, Ralf Joachim wrote: > > The stacktrace of TC98 looks ok to me as we try to load the same > > object in 2 independent threads which should lead to a Locking > > problems. Loading the objects in a single thread works as you can > > see when debuging through the other test cases. > > > I ran into something like this once - it was because I was using the > standard db type that didn't support locking. What's the DB type of > the database you're testing the code with? Is the test in question > trying to use DbLocked on a MySQL DB type that doesn't support > "select [...] for update" with row locking?
That's a *very* good point, Gregory! And I believe that might be it. I glanced at the mysql.sql script and nowhere is the engine=InnoDB being used upon creation of tables. Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' The Castor Project http://www.castor.org/ Apache Geronimo http://geronimo.apache.org/ ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------