Spring Framework, Spring Boot, Transactions, Transaction Management, Isolation Level.
Propagation.REQUIRED, isolation = Isolation.READ_UNCOMMITTED) public Product getById(Integer id) { return productRepository.findById(id).orElse(null); } READ_COMMITTED 2nd level isolation stop. DIRTY READ prevents it. But other problems of synchronicity can occur. @Transactional(propagation =