This is my 2nd article on Spring boot series. If you haven’t read the 1st article, click

In this article I’ll show you how to implement one to one and one to many mapping using hibernate in Spring boot.

One to One Mapping

In this spring boot series, I am going to show you all how to develop a spring boot project from basic. In this article we’ll focus on how to start a spring boot project and do all the four CRUD (Create, Read, Update and Delete) operations using a single table. Here I’ll be using spring tool suite with Maven and MySQL database for implementation.

  1. Project Setup

Over the last 30 years websites have gone from simple HTML pages with a bit of CSS to incredibly complex application with thousands of developers working on them. To decrease the complexity of project, developers started to use different software Architectural design patterns. Yes! Among many of them MVC Architecture is the most popular pattern. MVC stands for Model, View and Controller. Each of these components are built to handle specific development aspects of an application.

At first client will send the request to server. When the request come to server, Controller will respond to the request. …

Mohamed Razan

Undergraduate at University of Moratuwa

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store