论坛首页 Java企业应用论坛

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

浏览 1201 次
该帖已经被评为隐藏帖
作者 正文
   发表时间:2008-08-03  

        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) -->

            修改后如下:

    <!-- hibernate dialect -->

    <property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>

   

    <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>

    <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/jbpm</property>

    <property name="hibernate.connection.username">root</property>

    <property name="hibernate.connection.password">自己的密码(无密码就空着)</property>

   

    <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) -->

         

论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics