org.hibernate.exception.LockAcquisitionException:无法检索版本:for entity

时间:2015-09-15 18:55:02

标签: spring hibernate db2

我为同一个实体提供了@version注释和session.lock。我收到org.hibernate.exception.LockAcquisitionException:无法检索版本:实体异常和事务回滚。我可以同时使用(@version annotation和session.lock)吗?

.git

0 个答案:

没有答案