Subject | Re: AW: [ib-support] JBDC to Firebird - Commit error in threads |
---|---|
Author | Paul Reeves |
Post date | 2002-04-23T14:50:50Z |
On Tue, 23 Apr 2002 15:09:05 +0200, Thomas Fischer wrote:
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
> Thanks Paul.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.
>
>
> 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.
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