Chapter 5: DAO Support and JDBC Framework
Overview
Chapter 7 we will discuss these other technologies in detail.To begin with, we'll spend some time looking at JDBC itself. We will briefly look at what works well and what does not work so well with a traditional JDBC approach. We assume that you have some experience using JDBC. If you don't, you should start with a basic JDBC tutorial before continuing with this chapter. Sun provides a JDBC tutorial on their Java website at http://java.sun.com/docs/books/tutorial/jdbc/indexl.We will then introduce the core functionality of Spring's JDBC framework. The focus of Spring's approach is to make it easier to use the strengths present in the JDBC API while abstracting away the rough spots. We will then cover the JDBC framework in more detail and conclude with a discussion of when it is appropriate to use Spring JDBC rather than an Object/Relational mapping tool.