Database Relationships in Spring
Learn about a few interview questions regarding database relationships in Spring.
We'll cover the following...
- What are the database relationship annotations in JPA?
- Name some annotations which can be used to customize database relationships.
- What is the mappedBy attribute?
- What is lazy loading?
- What happens if the owning side of the relationship is saved before the inverse side?
- Why should CascadeType.REMOVE be used after due consideration?
- What is the difference between CascadeType.REMOVE and orphanRemoval attribute?
What are the database relationship annotations in JPA?
Four annotations are used to define the underlying database ...
Access this course and 1400+ top-rated courses and projects.