解决异常org.hibernate.exception.ConstraintViolationException: could not delete

调用方法RepositoryService.deleteDeploymentCascade(deploymentId)时报org.hibernate.exception.ConstraintViolationException: could not delete:

[org.jbpm.pvm.internal.model.ExecutionImpl#1]

连接Mysql5时,jBPM4运行到 End结点时的错误,把 hibernate.dialect 改为 org.hibernate.dialect.MySQLInnoDBDialect 就Ok了!


链接:http://longxzq-126-com.javaeye.com/blog/642464

你可能感兴趣的:(解决异常org.hibernate.exception.ConstraintViolationException: could not delete)