Subject | Jaybird NOT thread-safe? |
---|---|
Author | Kenneth Foo |
Post date | 2003-05-05T14:12:28Z |
Hi
I have a production server running Firebird 1.5 RC1
+ Jaybird RC1 / latest Jaybird from CVS.
It's a multithreaded app, where each thread
constantly performs updates on the database.
Each thread has its own connection object (obtained
from a connection pool).
The thing is, if I run from a single thread,
everything works like a charm.
Running multiple threads though, brings out a bunch
of ugly exceptions
(eg. cannot call getAutocommit for something
something..., BLOB exceptions,
etc....)
Using an older version of the driver (several
weeks/months back) somewhat perfectly.
Is this a bug in implementation?
If it is.....then help!!! I can't use Jaybird for
production deployment...
I'm forced to use the older driver...
Regards
Kenneth