> I'm a little torn about what to do here. I can't find anything the
> Javadocs about whether a Statement should be thread-safe, and the
> normal Java practice is assume something is not. So this is indeed
> correct behaviour, we should be generating one Statement for each
> thread. In fact, we should probably be creating a different Connection
> for each thread, though the SQLiteJDBC Connection is thread safe.
>
> The other side to this is "synchronized" has very little overhead in a
> modern JVM and it would be easy to add.
>
> For now, I think I'll leave it as it is, adding the JNIEnv fix.
>
> d.

NP, here is the modified test case:
http://hashbin.com/826.html
SIGSEGVs on native, works OK on nested.


--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to