Skip to Main Content
Beginning Spring Data: Data Access and Persistence for Spring Framework 6 and Boot 3
book

Beginning Spring Data: Data Access and Persistence for Spring Framework 6 and Boot 3

by Andres Sacco
December 2022
Beginner to intermediate content levelBeginner to intermediate
424 pages
7h 58m
English
Apress
Content preview from Beginning Spring Data: Data Access and Persistence for Spring Framework 6 and Boot 3
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
A. SaccoBeginning Spring Datahttps://doi.org/10.1007/978-1-4842-8764-4_4

4. Persistence and Domain Model

Andres Sacco1  
(1)
Buenos Aires, Buenos Aires, Argentina
 

In the previous chapter, you learned the basics of Spring and how to build a project that exposes an endpoint that persists information into a database using an architecture of layers with Spring Data. Still, the endpoint only obtains the knowledge of one entity without any connection or relationship with another. This type of situation in the relational database is not so common.

This chapter explains the relationships between the entities and how to use inherence to reduce duplicate code in Java. ...

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.
Start your free trial

You might also like

Beginning Spring Boot 3: Build Dynamic Cloud-Native Java Applications and Microservices

Beginning Spring Boot 3: Build Dynamic Cloud-Native Java Applications and Microservices

K. Siva Prasad Reddy, Sai Upadhyayula

Publisher Resources

ISBN: 9781484287644Purchase LinkPublisher Website