cleanDB(datasource);
final OracleDialect oracleDialect = new OracleDialect();
// oracleDialect.setWfRepository(workflowRepository);
oracleDialect.setDbBatchingLatencyMSec(0);
oracleDialect.setEngineIdProvider(new EngineIdProviderBean("a"));
oracleDialect.startup();
this.databaseDialect = oracleDialect;
OracleMonitoringDbDialect derbyMonitoringDbDialect = new OracleMonitoringDbDialect(new StandardJavaSerializer(), new DummyPostProcessor(),new BatchingAuditTrail());