O'Reilly logo

Pro Spring 5: An In-Depth Guide to the Spring Framework and Its Tools by Clarence Ho, Chris Schaefer, Rob Harrop, Iuliana Cosmina

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Iuliana Cosmina, Rob Harrop, Chris Schaefer, and Clarence Ho 2017
Iuliana Cosmina, Rob Harrop, Chris Schaefer and Clarence HoPro Spring 5https://doi.org/10.1007/978-1-4842-2808-1_8

8. Data Access in Spring with JPA2

Iuliana Cosmina, Rob Harrop2, Chris Schaefer3 and Clarence Ho4
(1)
Sibiu, Sibiu, Romania
(2)
Reddish, UK
(3)
Venice, Florida, USA
(4)
Hong Kong, China
 
In the previous chapter, we discussed how to use Hibernate with Spring when implementing data access logic with the ORM approach. We demonstrated how to configure Hibernate’s SessionFactory in Spring’s configuration and how to use the Session interface for various data access operations. However, that is just one way Hibernate can be used. Another way of adopting Hibernate in a Spring application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required