Subject | Re: Transaction question |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-06-13T18:31:57Z |
Hi,
Current version of JayBird is _not_ thread-safe.
Roman
> I've always used the commit method from connection, but in myFirst, you cannot use multiple threads with the same connection.
> application I have 2 different threads importing data into firebird.
> It will run over a slow network and I don't want one thread
> commiting other's thread work. I found this message but doesn't work
> with firebird:
Current version of JayBird is _not_ thread-safe.
> More difficult, but not impossible. You can always revert toYou can use savepoints in Firebird 1.5. Ask in IB-Support list.
> whatever SQL the DBMS supports, such as for Sybase You can do:
>
> stmt.executeUpdate("BEGIN TRAN myTran");
>
> stmt.executeUpdate("SAVE TRANSACTION");
Roman