Chapter 9. JDBC Support

In this chapter, we begin the discussion of the data access support in Spring. Almost every application needs to store and retrieve the data it works with. Storage options range from simple text files to complex proprietary data storage systems. However, in most cases, the best option is to use a relational database.

Virtually all of today's databases can be used from Java. Java code accesses the database using a JDBC driver (see http://java.sun.com/javase/technologies/database/). The driver translates JDBC operations to commands that the database can understand. The driver needs to be able to handle core JDBC concepts; for Spring's JDBC support to be considered complete, it too must support all JDBC operations.

Note

You will ...

Get Pro Spring 2.5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.