Subject Re: [Firebird-Java] Re: Jaybird NOT thread-safe?
Author Kenneth Foo
Oops. My fault.

Sorry, must be a false alarm. Tested with a new connection pooling code
and it works fine. (But funny that the older driver worked!)

Regards
Kenneth



----- Original Message -----
From: "Roman Rokytskyy" <rrokytskyy@...>
To: <Firebird-Java@yahoogroups.com>
Sent: Monday, May 05, 2003 10:54 PM
Subject: [Firebird-Java] Re: Jaybird NOT thread-safe?


> Hi,
>
> > Each thread has its own connection object (obtained from a
> > connection pool).
> > ...
> > Running multiple threads though, brings out a bunch of ugly
> > exceptions (eg. cannot call getAutocommit for something
> > something..., BLOB exceptions, etc....)
>
> Are you sure that you use connection per thread? Yesterday I run
> extensivly AS3AP multi-user tests and it works fine.
>
> > Using an older version of the driver (several weeks/months back)
> > somewhat perfectly.
>
> What latest version of the driver works? Do you know the date?
>
> > Is this a bug in implementation?
>
> JayBird 1.0 is not multithread safe, this means that multiple threads
> cannot work with the same connection object. However connection per
> thread should work ok.
>
> Best regards,
> Roman Rokytskyy
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>