Spring Boot CRUD best practice with Annotations || Hibernate + MySQL || Live Demo

Опубликовано: 23 Март 2021
на канале: Code Decode
75k
1k

Spring Boot CRUD best practice with Annotations || Hibernate + MySQL || Live Demo

Udemy Course of Code Decode on Microservice k8s AWS CICD link:


Course Description Video :


Github URL :

Project Lombok Video :


How to create a Spring + hibernate project with spring hibernate mysql crud example.
It explains spring crud example with mysql. It explains crud spring boot.
Its one of the most asked spring interview questions.
It has live demo of spring crud application with spring hibernate crud example

We also learn to develop crud spring boot rest api s which are exposed through controllers
This is important from the spring interview questions and answers for experienced point of view

Also useful in spring boot interview questions

How to create CRUD in spring boot hibernate from scratch in Java interview questions written / intermediate round:
Using STS Create spring starter project and during creation select 3 dependencies:
spring boot starter jpa
spring boot starter web
mysql driver
lombok

Modify Java version accordingly.

Then Add following properties in application prop file

spring.datasource.url= jdbc:mysql://localhost:3306/codedecode?useSSL=false
spring.datasource.username= root
spring.datasource.password= root

spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.hibernate.ddl-auto= update


Then Create Entity package using following annotations:



= GenerationType.AUTO)
We will see these annotations used in CRUD in java interview questions

Spring boot interview questions :
The Architecture of the application you have worked upon.
Create a CRUD in 60 / 120 minutes. (Live)

Exception handling in Spring / Global exception handling
Spring Security end to end .


For Explain Architecture of your Application u worked on

This is one of the most asked interview question.
We all Work in IT Industry where we have some clients and we serve the request and they pay us.
Hence most of the Applications work on Client server Architecture

We can layer / split an application in a client server architecture as:
Presentation Logic
Business Logic
Data Source
We Usually have 3 Tier Architecture.

In this video of spring boot interview questions We Use programming language like java to implement Business logic on server.
Its further more modularised / divided into
Controller Layer - to create crud spring boot rest api
Business layer
DAO Layer

We have even covered crud spring boot rest api in this video from scratch

-------------------------------------------------------------------------------------------------------------------------------------

Code Decode Playlists

Most Asked Core Java Interview Questions and Answers :

Advance Java Interview Questions and Answers :

Java 8 Interview Questions and Answers :

Hibernate Interview Questions and Answers :

Spring Boot Interview Questions and Answers :

Angular Playlist :

GIT :

-------------------------------------------------------------------------------------------------------------------------------------
Subscriber and Follow Code Decode

Subscriber Code Decode :

Linkedin :

Instagram :

-------------------------------------------------------------------------------------------------------------------------------------



Смотрите видео Spring Boot CRUD best practice with Annotations || Hibernate + MySQL || Live Demo онлайн без регистрации, длительностью 39 минут 34 секунд в хорошем hd качестве. Это видео добавил пользователь Code Decode 23 Март 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 75 тысяч раз и оно понравилось 1 тысяч людям.