@Transactional(isolation=xx)
1.Isolation.READ_UNCOMMITTED 读未提交数据
2.Isolation.READ_COMMITTED 读已提交数据
3.Isolation.REPEATABLE_READ 可重复读
4.Isolation.SERIALIZABLE 串型化
5.Isolation.DEFAULT 使用数据库默认
@Transactional(isolation=xx)
1.Isolation.READ_UNCOMMITTED 读未提交数据
2.Isolation.READ_COMMITTED 读已提交数据
3.Isolation.REPEATABLE_READ 可重复读
4.Isolation.SERIALIZABLE 串型化
5.Isolation.DEFAULT 使用数据库默认
本文标题:Spring:事务处理isolation参数
本文链接:https://www.haomeiwen.com/subject/doivwftx.html
网友评论