Transactions, Spring.
orders, the application will run out of Database Connections resulting in the application lag Hence we should not mix the DB and I/O calls inside a Transactional method This is a very good use case for Programmatic Transaction Management and we use TransactionTemplate for this purpose @Autowired