two-layer method 关于双层法
cathode layer method 阴极层法
agar layer method 琼脂叠层法
equivalent soil layer method 等值层法
dynamic layer method 动态层法
The client-layer method that starts the transaction is considered the transaction owner.
开始事务的客户端层方法被称作事务所有者。
Remember the golden rules: the client method invoking the API layer method is the transaction owner, and only the transaction owner should be responsible for rollback.
记住刚才的两条黄金法则:调用api层方法的客户机方法是事务所有者,只有事务所有者才负责执行回滚。
If a service layer method deals with only read-only data, you can mark its transaction as read-only, which is a hint to optimize Hibernate and the underlying JDBC driver.
如果一个服务层方法只处理只读数据,可以将它的事务标为只读,这是优化Hibernate和底层JDBC驱动的一个方法。
应用推荐