03-05-2014 02:05 AM
private static final String DB_TYPE = "h2";
private static final String JDBC_DRIVER = "org.h2.Driver";
private static final String JDBC_URL = "jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000";
private static final String JDBC_USERNAME = "sa";
private static final String JDBC_PWD = "";
ProcessEngineConfiguration standAloneProcessConfig = (StandaloneProcessEngineConfiguration)ProcessEngineConfiguration
.createStandaloneProcessEngineConfiguration();
standAloneProcessConfig.setJdbcDriver(JDBC_DRIVER);
standAloneProcessConfig.setJdbcPassword(JDBC_PWD);
standAloneProcessConfig.setJdbcUrl(JDBC_URL);
standAloneProcessConfig.setJdbcUsername(JDBC_USERNAME);
standAloneProcessConfig.setDatabaseType(DB_TYPE);
standAloneProcessConfig.setDatabaseSchemaUpdate("true");
ProcessEngine processEngine = standAloneProcessConfig.buildProcessEngine();
03-10-2014 06:32 AM
03-10-2014 07:03 AM
03-11-2014 08:25 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.