Hibernate 5 - no transaction is in progress
使用HibernateTemplate进行sql查询时,程序未见异常,返回报404错误,将spring日志改成debug级别后,抛错如下:Caused by: javax.persistence.TransactionRequiredException: no transaction is in progress at org.hibernate.internal.S...
原创
2019-08-12 11:59:15 ·
4170 阅读 ·
5 评论