日期:2014-05-16  浏览次数:20670 次

jbpm 3.2.2+Tomcat 6.0.10+MySQL5.0.27/MSSQL2000全攻略三

??????? c)、修改hibernate.cfg.xml文件

????????????修改jbpm-jpdl-3.2.2\deploy\customized\jbpm-console\WEB-INF\classeshibernate.cfg.xml文件,原配置文件要修改部分如下:

??? <!-- hibernate dialect -->

??? <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>

?

??? <!-- JDBC connection properties (begin) ===

??? <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>

??? <property name="hibernate.connection.url">jdbc:hsqldb:mem:jbpm</property>

??? <property name="hibernate.connection.username">sa</property>

??? <property name="hibernate.connection.password"></property>

??? ==== JDBC connection properties (end) -->

???

??? <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>

???

??? <!-- DataSource properties (begin) -->

??? <property name="hibernate.connection.datasource">java:/JbpmDS</property>

??? <!-- DataSource properties (end) -->

????????????修改后如下: