public static DatabaseAccessor getAccessor(Configuration conf) {
    DatabaseType dbType = DatabaseType.valueOf(
        conf.get(JdbcStorageConfig.DATABASE_TYPE.getPropertyName()).toUpperCase());
    String driverClass =
        conf.get(JdbcStorageConfig.JDBC_DRIVER_CLASS.getPropertyName()).toUpperCase();
    return getAccessor(dbType, driverClass);
  }
Factory for creating the correct DatabaseAccessor class for the job
jdbc-handler/src/main/java/org/apache/hive/storage/jdbc/dao/DatabaseAccessorFactory.java