Back to Developer Roadmap

Relationships

src/data/roadmaps/spring-boot/content/relationships@D4ybyh0ydvl9W2_xUcvZ_.md

4.0738 B
Original Source

Relationships

Using hibernate, if we want to have relationship between two entities, there must exist a foreign key relationship between the tables, we call it as Referential integrity. The main advantage of having relationship between objects is, we can do operation on one object, and the same operation can transfer onto the other object in the database.

Visit the following resources to learn more: