spring-data-jpa-guide
spring-data-jpa-guide copied to clipboard
如果在Dirty判断的时候,当前session中缓存对比数据库来讲已经不是最新的。那么JPA会如何进行处理?
merge,也就是再符合乐观锁的前提下 做覆盖