Transactions, Spring.
@SpringBootApplication @EnableTransactionManagement public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } 2. @Transactional annotation on a service class or a method Using Transactional annotation on the class level marks the class