In this Spring Data MongoDB Example, we will build a Simple Spring Application and perform CRUD operations on the Mongo Database with the help of Spring Data MongoDB and MongoRepository. MongoDB is a document-based NoSQL database, providing high performance and high availability. Spring provides seamless integration with the Mongo database through Spring Data MongoDB which is a … [Read more...]
Spring Data JPA CRUD Example using JpaRepository
In this article, we will learn how to integrate Spring Data JPA into our Spring application. We will be extending JPARepository and be creating an Employee management application and store the details using Oracle database. … [Read more...]
Spring Data JPA One To One Foreign Key Example
In this Spring Data JPA One To One article, we will learn how to achieve One To One Mapping using Spring Data JPA. In this approach, we will have two tables with different primary keys. The primary key of EMPLOYEE table (EMP_ID) will act as a foreign key for the EMPLOYEE_ADDRESS table and EMPLOYEE_ADDRESS table will have its own primary key (ADDR_ID). … [Read more...]