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

posted @ 2013-11-06 22:58  horizon~~~  阅读(237)  评论(0)    收藏  举报