少林

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年10月19日

摘要: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException原因:同一service方法里多次save导致,save过一次,事务已经提交了,如果再次save,则事务已经变为回滚状态,... 阅读全文
posted @ 2015-10-19 18:26 Stanley_yu 阅读(6627) 评论(0) 推荐(1) 编辑

摘要: 阅读全文
posted @ 2015-10-19 11:30 Stanley_yu 阅读(628) 评论(0) 推荐(0) 编辑