标签:struts2 spring hibernate mysql java
1、错误描述
Caused by: org.hibernate.TransactionException: unable to commit against JDBC connection at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doCommit(JdbcTransaction.java:116) at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:180) ... 41 more
由错误提示可知,事务不能提交,JDBC连接出现异常
3、解决办法
(1)检查下网络连接
(2)检查下数据库是否正常连接
版权声明:本文为博主原创文章,未经博主允许不得转载。
Caused by: org.hibernate.TransactionException: unable to commit against JDBC connection
标签:struts2 spring hibernate mysql java
原文地址:http://blog.csdn.net/you23hai45/article/details/49669743