jbpm錯誤

解決方案  mysql

修改jbpm.hibernate.cfg.xml文件爲sql

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
          "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
  <session-factory>
  
     <property name="dialect">
        //org.hibernate.dialect.MySQLDialect
 修改成 org.hibernate.dialect.MySQLInnoDBDialect </property>
    <property name="connection.url"> jdbc:mysql://localhost:3306/jbpmtest
    </property>
    <property name="connection.username">root</property>
    <property name="connection.password">aaa123456</property>
    <property name="connection.driver_class"> com.mysql.jdbc.Driver </property>
    <property name="myeclipse.connection.profile">mysql</property>
    <property name="show_sql">true</property>
    <!-- <property name="hbm2ddl.auto">create</property> -->
     
     <mapping resource="jbpm.repository.hbm.xml" />
     <mapping resource="jbpm.execution.hbm.xml" />
     <mapping resource="jbpm.history.hbm.xml" />
     <mapping resource="jbpm.task.hbm.xml" />
     <mapping resource="jbpm.identity.hbm.xml" />
     
  </session-factory>
</hibernate-configuration>
相關文章
相關標籤/搜索