Chapter 2: Using Spring JDBC
JDBC was a significant achievement when it first appeared on the scene nearly a decade ago. It provided a clean, clear abstraction for interfacing with any database, staying true to the platform-independence credo of Java. But in practice, JDBC can be quite a difficult beast to tame. Working with a database may seem simple at first, but a lot is happening under the abstraction hood, meaning there's plenty of room for things to go awry. Interacting with a database implicitly means interfacing with a driver, making a connection over a network, and finally initiating SQL calls in which data is passed back and forth between your application and the external database. JDBC does a great job of abstracting this large stack ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access