JCR-2234: Fixes for MySQL and DB2 + jdbc driver upgrade for MSSQL and DB2