readOnly: Setting up a read/write transaction by specifying @Transactional(readOnly=false) will make the FlushMode of the persistence context AUTO.
readOnly:通过指定 @Transactional(readOnly=false) 建立读/写事务,这样会使持久化上下文的 FlushMode 变为 AUTO。
This has interesting implications for the question of whether to use no transactions or read-only transactions in flow-managed persistence.
这对于在流管理的持久化中是不使用事务还是使用只读事务的问题产生了有趣的影响。
And some who read his book might find his persistence on the subject annoying.
一些读他的书的人可能会觉得他对这个问题不懈的论说有些烦人。
应用推荐