criteria predicate specification
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.








网友评论