2017年5月15日

hibernate学习手记(2)

摘要: 1.javax.persistence.TransactionRequiredException: no transaction is in progress 出现该问题是我没有开启事务,我是在保存之前调用了doWork方法去设置setAutoCommit为true. 解决办法:如果是用到了spri 阅读全文

posted @ 2017-05-15 08:31 Jack·J 阅读(319) 评论(0) 推荐(0) 编辑

导航