WROX.COM CODE DOWNLOADS FOR THIS CHAPTER
NEW MAVEN DEPENDENCIES FOR THIS CHAPTER
In addition to the Maven dependencies introduced in previous chapters, you also need the following Maven dependency:
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <version>4.0.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.18.1-GA</version> <scope>runtime</scope> </dependency>
Before Object-Relational Mappers became so common and the JPA Persistence API was first released, Spring Framework’s
org.springframework.jdbc.core.JdbcTemplate provided a standard, simplified way to persist and retrieve entities using JDBC in Spring Framework applications. In addition to making table-to-entity translation easier, the
JdbcTemplate also recognized the various vendor-specific
SQLExceptions and error codes that a JDBC driver could ...