jBPM4中配置MySQL的hibernate方言MySQLInnoDBDialect

最初的jbpm.hibernate.cfg.xml中,对MySQL的方言配置成了org.hibernate.dialect.MySQLDialect,发布流程的时候遇到下述错误:

Cannot delete or update a parent row: a foreign key constraint fails

Could not synchronize database state with session

将MySQL方言修改为org.hibernate.dialect.MySQLInnoDBDialect问题解决

转载:http://blog.csdn.net/AlphaHinex/archive/2010/03/07/5354419.aspx

你可能感兴趣的:(Hibernate,mysql,session,jbpm,database,delete)