Subject Re: AW: [ib-support] JBDC to Firebird - Commit error in threads
Author Paul Reeves
On Tue, 23 Apr 2002 15:09:05 +0200, Thomas Fischer wrote:
> Thanks Paul.
>
>
> I try to explain my problem clearer. I make 5 'insert statements'
> in my main application.
> In a thread of my application i wait until the 5 'insert
> statements' are send to the database (jdbc).. then i make a commit
> with the same database connection i used before.

But it sounds as if you are making the commit in a different thread to the one that started the transaction. You cannot pass the database handle across threads.

If you are using the same thread for all the database activity then we need to look deeper into the cause of the problem.


Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird and InterBase