转发的。
解决异常org.hibernate.exception.ConstraintViolationException: could not delete:
文章分类:IT生活
调用方法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了!