so when I use firebird embedded I cant write mutlithread program.
so when I use firebird embedded I cant write mutlithread program.
Multithreaded program: yes (you can have a database manager in a separate thread)
Using multiple threads for the sql classes: no
There's no reason to do that either since most databases are optimized to work in a certain way.
If you want to add lots of data at the same time in a database, don't do this query by query. Start a transaction, fill the transaction buffer and then commit it in one go.
Firebird team release 2.5RC3 version.
In release note we can read:
"The client libraries, including the embedded one, can now be used in multi-threaded applications without any application-level synchronization."
so with this library can I use Qt sql classes (with one connection) in more than one thread?
No.
This has nothing to do with the used database, but everything with Qt.
Bookmarks