Spring Boot, Software Engineering, Spring Framework, Api Development, Java Development.
Spring detects a bean annotated with @Transactional , it creates a dynamic proxy of that bean! This proxy will have access to a TransactionManager, who uses simply JDBC connection. The proxy will then ask the TM to open/close transactions. Implemented roll back mechanism to roll back a transaction