if("h2".equalsIgnoreCase(database)) {
dialect = new H2Dialect();
} else if("mysql".equalsIgnoreCase(database)) {
dialect = new MySQLDialect();
} else if("postgres".equalsIgnoreCase(database)) {
dialect = new PostgreSQLDialect();
} else
throw new IllegalStateException("database type "+database+" currently not supported!");
String jdbcUrl = configurationService.getStringConfiguration("database.url");
String dbUser = configurationService.getStringConfiguration("database.user");
String dbPass = configurationService.getStringConfiguration("database.password");