This is my 2nd article on Spring boot series. If you haven’t read the 1st article, click https://mhdrazan7.medium.com/spring-boot-series-1-project-setup-and-crud-operations-eb297d39ba22
In this article, I’ll show you how to implement one-to-one and one-to-many mapping using hibernate in Spring boot.
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 the spring tool suite with Maven and MySQL database for implementation.
Over the last 30 years, websites have gone from simple HTML pages with a bit of CSS to incredibly complex applications with thousands of developers working on them. To decrease the complexity of the project, developers started to use different software Architectural design patterns. Yes! Amongst them, MVC Architecture is the most popular pattern. MVC stands for Model, View, and Controller. Each of these components is built to handle specific development aspects of an application.
At first, the client will send the request to the server. When the request comes to the server, the Controller will respond to the request…