There are following benefits of JDBC abstraction layer module in Spring framework.
- It prevents problems that result from a failure to close database resources.
- This is provides a layer of useful exceptions on top of the error messages given by different database servers.
- The transaction management services supports programmatic and declarative transaction management for classes that implement special interfaces and for all your POJOs.
- The JDBC abstraction layer removes the need to do tedious JDBC coding and parsing of database-vendor specific error codes.
- It makes the database code clean and simple.
- It is Based on Spring’s AOP module.