Fix Issue on Multithread access to one JDBC Connection for MySQL and
MariaDB