flowable.cfg.xml 1.1 KB

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://www.springframework.org/schema/beans
  4. http://www.springframework.org/schema/beans/spring-beans.xsd">
  5. <bean id="processEngineConfiguration" class="org.flowable.engine.impl.cfg.StandaloneProcessEngineConfiguration">
  6. <!--保存到文件模式-->
  7. <!--<property name="jdbcUrl" value="jdbc:h2:file:~/activiti-in-action-chapter6;AUTO_SERVER=TRUE" />-->
  8. <!--内存模式-->
  9. <property name="jdbcUrl" value="jdbc:h2:mem:activiti-in-action-chapter6;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE" />
  10. <property name="jdbcDriver" value="org.h2.Driver" />
  11. <property name="jdbcUsername" value="sa" />
  12. <property name="jdbcPassword" value="" />
  13. <!--HistoryLevel-->
  14. <property name="history" value="full" />
  15. <property name="databaseSchemaUpdate" value="true" />
  16. <property name="flowable5CompatibilityEnabled" value="false" />
  17. <!-- <property name="jobExecutorActivate" value="false" />-->
  18. </bean>
  19. </beans>