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 ...
Get Spring Persistence: A Running Start 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.