CHAPTER 6

image

Spring JDBC Support

By now you have seen how easy it is to build a fully Spring-managed application. You have a solid understanding of bean configuration and aspect-oriented programming (AOP). However, one part of the puzzle is missing: how do you get the data that drives the application?

Apart from simple throwaway command-line utilities, almost every application needs to persist data to some sort of data store. The most usual and convenient data store is a relational database.

The most notable open source relational databases are perhaps MySQL (www.mysql.com) and PostgreSQL (www.postgresql.org). MySQL is generally more widely used ...

Get Pro Spring,Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.