protected String[] getQuartzDbDelegateClassAndValidationQuery() {
    String dbDelegate = "org.quartz.impl.jdbcjobstore.StdJDBCDelegate";
    String dbValidate = "select 0";

    DatabaseType databaseType = configuration.getDatabaseType();
    if (databaseType == DatabaseType.POSTGRES) {
      dbDelegate = "org.quartz.impl.jdbcjobstore.PostgreSQLDelegate";
    } else if (databaseType == DatabaseType.ORACLE) {
      dbDelegate = "org.quartz.impl.jdbcjobstore.oracle.OracleDelegate";
      dbValidate = "select 0 from dual";
    }

    return new String[] { dbDelegate, dbValidate };
  }
Constructor used for unit testing
@param configuration
ambari-server/src/main/java/org/apache/ambari/server/scheduler/ExecutionSchedulerImpl.java