In Chapter 6, we saw how we can build a data access object using JDBC, configured with Spring. In this chapter, we’re going to take a look at Spring Data, which provides a bridge to other underlying persistence mechanisms – the Java Persistence API, in this case, using Hibernate as an underlying implementation.
Hibernate is an “object-relational mapper,”1 meaning that it’s a library that maps data between the object and relational ...