org.hibernate.exception.ConstraintViolationException: could not delete:

转自:http://fireinwind.iteye.com/blog/848515

异常描述:

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了!

上一篇:[LintCode] Trapping rain water II


下一篇:【PAT】 B1006 换个格式输出整数