jbpm错误

邮差的信 提交于 2019-11-29 16:01:27

解决方案  

修改jbpm.hibernate.cfg.xml文件为

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

 

转载于:https://my.oschina.net/u/2529405/blog/663598

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!