1 2 3 4 5 6 下一页 第 14 章 持久化 14.1. 标准环境配置 这一节描述了环境如何配置 来在标准Java环境中使用Hibernate. 01 | <jbpm-configuration> 02 | 03 | <process-engine> 04 | <hibernate-session-factory /> 05 | <hibernate-configuration> 06 | <properties resource="hibernate.properties" /> 07 | <mapping resource="jbpm.pvm.typedefs.hbm.XML" /> 08 | <mapping resource="jbpm.pvm.wire.hbm.xml" /> 09 | <mapping resource="jbpm.pvm.definition.hbm.xml" /> 10 | <mapping resource="jbpm.pvm.execution.hbm.xml" /> 11 | <mapping resource="jbpm.pvm.variable.hbm.xml" /> 12 | <mapping resource="jbpm.pvm.job.hbm.xml" /> 13 | <mapping resource="jbpm.jpdl.hbm.xml" /> 14 | <cache-configuration resource="jbpm.pvm.cache.xml" 15 | usage="nonstrict-read-write" /> 16 | </hibernate-configuration> 17 | </process-engine> 18 | 19 | <transaction-context> 20 | <standard-transaction /> 21 | <hibernate-session /> 22 | <pvm-db-session /> 23 | </transaction-context> 24 | 25 | </jbpm-configuration>
(责任编辑:admin) |