In Spring Boot, the @Transactional annotation is used to manage transactions for methods…
@Transactional