> On 07/07/07, Joe Wilson <[EMAIL PROTECTED]> wrote:
> > It throws the MISUSE (a.k.a. "not an error") exception on Nested
> > on my machine. Your machine may be faster or slower than my machine
> > and just happens to avoid the problem.
>
> With generating a Statement with each thread? So where is the race
> condition? Perhaps my original claim that Connection is thread-safe is
> wrong. Hmm.
Every single call in all classes (even Stmt) dealing with a Connection
must be synchronized on the underlying conn object. Maybe it's missing
in a few places.
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---