2、 spring-data jpa相关概念

2019-12-29  本文已影响0人  BenjaminCool

criteria predicate specification

EntityManager.flush()

setrollbackonly vs rollback
setRollbackOnly means that the transaction will ultimately roll back, but not immediately when the method is called. It simply tells the transactional system to vote "rollback" when the two-phase commit voting process begins.

上一篇 下一篇

猜你喜欢

热点阅读