Transactions, Spring.
transaction managers have methods like doBegin() or doCommit() that takes care of the connectivity and final execution. To put all of the above discussion in a gist: If Spring detects @Transactional annotation on a bean, it creates a dynamic proxy of the bean. The proxy will then have access to a