Spring Data JPA CRUD Example

Introduction In this tutorial I will show you an example on Spring Data JPA CRUD. Here I will use the embedded or in-memory HSQL database. CRUD means Create, Read, Update, Delete. So I am going to perform basic CRUD operations on some entities. In this example I will create annotation based Spring standalone application. Related Posts: Embedded HSQL Database in…

Spring Boot Data JPA Unidirectional Many-To-One Relationship

Introduction In unidirectional association, you will have navigation only in one direction, i.e, only one side of the association will have the reference to the other side. The one side of the association will implement one of the collection interfaces, if it has the reference to the other entity. In many to one relationship, multiple source objects can have relationship with…