Subject | Re: [Firebird-Java] Jaybird NOT thread-safe? |
---|---|
Author | Marco Parmeggiani |
Post date | 2003-05-05T14:57:50Z |
On Mon, 5 May 2003 22:12:28 +0800, you wrote:
synchronized. That is, two threads can "get" the same connection at the
same time.
Try to synchronize the piece of code used to get the connection from the
pool and make some tests; i'm also interested in this but ultimately i
am sacrificing test time to develope time (ugly but necessary).
Be aware, i am not sure and maybe i'm saying wrong things here. The
jaybird source code should be investigated to get the real answer... or
maybe the developer could pop up and clear this point...
ciao
--
Seti@Home Java Applets
http://maruko.cjb.net/
>HiI suspect, but i am not sure at this time, that the pool is not
>
>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).
>
synchronized. That is, two threads can "get" the same connection at the
same time.
Try to synchronize the piece of code used to get the connection from the
pool and make some tests; i'm also interested in this but ultimately i
am sacrificing test time to develope time (ugly but necessary).
Be aware, i am not sure and maybe i'm saying wrong things here. The
jaybird source code should be investigated to get the real answer... or
maybe the developer could pop up and clear this point...
ciao
--
Seti@Home Java Applets
http://maruko.cjb.net/