Resource and transaction management

In the Spring JDBC module, resources such as connection handling, statements handling, and exceptions handling are managed by the Spring's JdbcTemplate. It also translates SQL error codes of the database specific to meaningful unchecked exception classes. The same is true for the Spring ORM module--Spring manages both local and global transactions in the enterprise application by using the respective Spring transaction managers. Spring provides transaction managers for all supported ORM technologies. For example, Spring offers the Hibernate transaction manager for Hibernate, the JPA transaction manager for JPA, and JTA support for global or distributed transactions.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset