© Iuliana Cosmina, Rob Harrop, Chris Schaefer, and Clarence Ho 2023
I. Cosmina et al.Pro Spring 6https://doi.org/10.1007/978-1-4842-8640-1_10

10. Spring Data with SQL and NoSQL Databases

Iuliana Cosmina1  , Rob Harrop2, Chris Schaefer3 and Clarence Ho4
(1)
Kirkcaldy, UK
(2)
Reddish, UK
(3)
Venice, FL, USA
(4)
Hong Kong, China
 

Now that you’ve been introduced to multiple aspects of data access, such as connecting to the database, executing native queries with JDBC, mapping tables to entity classes to allow database records to be treated as objects in the Java code, creating repository classes for data management using Hibernate sessions and EntityManagerFactory, and then executing multiple database operations in the same Spring-managed transaction, it is ...

Get Pro Spring 6: An In-Depth Guide to the Spring Framework 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.