Question : Is the odbc driver thread-safe ? Can it be used to open multiple connection and execute multiple command at the same time in a multi-thread application ?
We tried to use it in a c# multi-thread application and it was crashing with weird errors. This may be an error in our problem, or that the odbc driver is not thread safe.
If it is not thread-safe, this bring a big problem : we cannot use it to do multiple command at the same time in a multithread application.
Example : a program that mass import data from Microsoft SQL To Hana is limited to 1 connection at a time. As other functionality are not yet available (multiple insert, multiple command in 1 batch), and it is doing the data migration on only 1 thread, it would taks days/week to migration a large database to hana.
The migration tool to concert a sap business one database from Microsoft sql to hana is multithread, so the JDBC Driver must be multithread too.
When we tried to use the odbc driver in a multi-thread application, it keeps returning weird errors and that lead us to believe that it is not designed to be used in a multithread program.I do not know the market share of odbc/jdbc client, but the jdbc client seems to have more work on it.