Do I need to synchronize if I have multiple threads to be inserted into MySQL?
1 answer
The database driver will do this for you under the covers if needed. You must assume that the database can handle concurrent CRUD access.
The drivers I used for SQLServer and Sybase always closed the object Connection
, although you could use multiple pooled connections, of course!
+6
source to share