Subject | Re: Active Transaction in Autocommit-Mode ? |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-10-30T09:05:28Z |
Hi,
bug in the driver.
using the same connection from multiple threads simultaneously.
the CVS. I think I have fixed this bug there.
Best regards,
Roman Rokytskyy
> I'm getting the following exception:No, you are not allowed to use commit in auto-commit mode. This is a
> java.lang.IllegalStateException: Can't destroy managed connection
> with active transaction
> ...
> when closing a connection.
> My problem: this connection is only used in autocommit mode (only
> read-connection), so i thought i don't have to commit explicit.
bug in the driver.
> I think this only happens when i use the same connection fromSimultaneously? JayBird 1.0.x is not thread-safe and you should avoid
> different threads (but with no other sql-error).
using the same connection from multiple threads simultaneously.
> Why is this happening ?Bug. It would be great, if you could try version of the driver from
the CVS. I think I have fixed this bug there.
Best regards,
Roman Rokytskyy