Spring / Spring Data Access
Advantages of Spring JDBC Template over standard JDBC.
The Spring JDBC Template has the following advantages compared with standard JDBC.
The Spring JDBC template allows to clean-up the resources automatically, e.g. release the database connections.
The Spring JDBC template converts the standard JDBC SQLExceptions into RuntimeExceptions. This allows the programmer to react more flexible to the errors. The Spring JDBC template converts also the vendor specific error messages into better understandable error messages.
More Related questions...