[BACKLOG-365][5.2] Unable to create a database table data source against Apac...

Handle case with old shims not having hive2 driver.
Detect pentaho's hive error message in setAutoCommit.