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
2、错误原因
由错误提示可知,事务不能提交,JDBC连接出现异常
3、解决办法
(1)检查下网络连接
(2)检查下数据库是否正常连接