CRUD Operation using JPA and Spring Boot | CREATE | READ | UPDATE | DELETE in one video [HINDI]
Vložit
- čas přidán 18. 08. 2020
- In this video we are going tolearn how to perform crud operation using jpa and spring boot step by step
CRUD Operation using JPA and Spring Boot | CREATE | READ | UPDATE | DELETE in one video [HINDI]
#springboot #spring boot tutorial
Download Source Code: learncodewithdurgesh.com/cour...
Spring-boot full playlist: • Spring Boot Tutorial i...
Spring MVC playlist: • Spring MVC Tutorial St...
Spring framework playlist: • Spring Framework Tutor...
MySQL in one video: • Learn MySQL in one vid...
Telegram Link for Doubt: t.me/learncodewithdurgesh
Important Videos:
➡️React JS with Project: • 🔥 🔥 Complete React Js ...
➡️Learn JDBC in one video: • JDBC Crash Course in 1...
➡️Learn Python in One Video: • Learn Python in One Vi...
➡️Learn HTML in one video: • Jquery in one video in...
➡️Learn HTML form in one video: • Jquery in one video in...
➡️Learn JavaScript in one videos: • Learn JavaScript in O...
➡️Learn Form Validation using javascript and jquery: • Form Validation using ...
➡️Learn CSS in one video: • Jquery in one video in...
➡️Jquery in one video: • Jquery in one video in...
➡️Kotlin is one video: • Kotlin | Learn Kotlin ...
➡️Complete Python Project - CZcams downloader in one video: • Jquery in one video in...
Important Playlist:
➡️Spring Boot Tutorial with Project : • Spring Boot Tutorial i...
➡️Spring MVC Tutorial: • Spring MVC Tutorial St...
➡️Complete Spring Framework Tutorial: • Spring Framework Tutor...
➡️Hibernate Tutorials: • Hibernate Tutorial for...
➡️E-Commerce Project using Java: • E-Commerce Project usi...
➡️AWS Free Java Hosting Playlist: • AWS Hosting Tutorial |...
➡️Hibernate Tutorial Playlist: • Hibernate Tutorial for...
➡️Learn Technology in One Vides: • Learn in one video : C...
➡️Programming Tips for Programmers: • Coding Tips and Discus...
➡️Complete Python for Beginners: • Complete Python Tutori...
➡️Important Python Projects: • Python Projects in Hindi
➡️Complete Servlet & JSP : • Servlet and Jsp (Serve...
➡️Complete JDBC ( Java Database Connectivity) : • JDBC(Java Database Con...
➡️Complete Java Project : TechBlog: • Full Java Advance Pro...
➡️Java Swing Projects: • Java Projects for begi...
➡️Java Core Concepts: • Java Core Tutorial
➡️Kya aap Jante hai Series: • kya app jante hai : s...
Important Links:
👉Official Website (Source Code): learncodewithdurgesh.com/
👉Telegram Discussion Group: t.me/learncodewithdurgesh
👉Follow me on Instagram: / durgesh_k_t
👉Follow on Facebook / learncodewithdurgesh
Gear that I use:
Gears that I Use:
Lenovo Ideapad S145 AMD Ryzen 5 15.6
amzn.to/33Vvxu2
Mic for Recording
amzn.to/305hgtr
amzn.to/2EyFMfa
Disclaimer:
All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
A single trainer in you tube
Who explains A to Z in very short period
Awesome.. Understood in 1 go.. have been trying from many places but the way you explains is just amazing. Thank you Brother.
Woww lovely video Sir ji... Thank you so much.
One day u will touch the peak of a human life ,,, god bless u
You are awesome sir. Thank you so much for such a great explanation. Each and every detail is explained in all tutorials.
very well explained . please continue making such amazing content
great.helping in job.thanks guruji
arey wa bht jald la aye crud in spring boot sa
Amazing Content,
Best Explaination
one of the best guruji .
Excited for Spring boot project ..
Let's gogo u r awesome sir
Banda save ho gaya .. nice line..
Very Help Full Brother
Very helpful video sir
Thank you sir
thank you sirji
Thank you so much sir..........
Dhanshoo!
Excelent
..................op
Nice tutorial
very nice video sir
sir please core java bhi sikha do jaise isme sikha rahe ho ..java 8 ,9 and higher version along with core concept of old jdk
Perfect hai
thank u sir
V nice dear sir
Can you please make another video and explain crud operations using hexagonal architecture in Spring boot 🙏🙏🙏🙏
Ple make video on which topic previously covered...so easy for understanding...
Nice
please if you have enough time please brief me about hexagonal architecture🙏🙏
8:38 What can be replacement of line 43 in Java 8? Please review and correct: -
List userList = new ArrayList();
for (int i = 0; i < userCount; i++) {
userList.add(new User());
}
userRepository.saveAll(userList);
use a database
Nice vdo
You are my new guruji . Love the teaching . Very clear explanation
hey can we connect i'm also learning spring boot nowdays.
@@adityaparihar902 Sure !! Give me your contact details …..
Hi @Durgesh Sir.... I am getting error when i am trying to fetch data from table using JPA but in table some values are null so how to solve them
please make videos on springboot with couchbase CRUD.
sir if we want an exception or error msg while inserting a new duplicate entry what we have to use . in this if i insert duplicate entry it is updating old one . and i don't want update
Sir please tell me how to handle NoSuchElementException if data not preset in database
basic java ka use krna chahea taki hr koi smaj ske easily km se km java 8 ok hota h... yh feedback h vedio ka bhaiya ap bhut acha pdare pr jo course all k li bnare vh basic hona chahea
Hi Durgesh,
I've been following you from hibernate tutorials, but, after watching this video, I've two questions 1. Transactions 2. Cascade
I'm trying to use Cascade, however I get this issue "detached entity passed to persist"
Kindly make videos on microservices
Very complicated explanation of this topic
🔥
Please plan an online discussion session (NOT coding) basically video session through Hangout/webex etc.
Sir ji maine bhi banda bana diya 😀😀
you are teaching very fast and explaining in deep juz going fast fast
Great videos
But I think you really need to work on combining related videos in playlist. I was looking for JPA videos but they are not in sequence. Still not sure and trying to figure put
Sir please tell me how you can complete your line automatically like as soon as you called userRepository.findById(); how automatically optional reference variable created. Please tell this shortcut
use ctrl+2 at the end of line, you will get few options, chose assign new variable.
how to use ..arraylist ....skipp list of ..for saving multiple user
User entity class setter method not able to access in main(), create user class object created ,userRepo also created ,ApplicationContext also created but setter method not able to access , package also correct order
PERFECT HAI😂😅
my Database are not staying constant whenever i comment old code lines like in your video do i have to change any setting in database?
Sir aap classes lete ho kya online
Hello sir could you tell me the shortcut of method assigning suggestion in eclipse.when ever you call the method the assging will be done by you to the shottcut keyword. what was that..?? can you pleae share.
CTRL + 1
@@natkhatbaani Thanks Bhai
Hi sir I have one doubt to update data how we can used save method bcoz according to save it will stored new record can you please explain?
save() will store new record if record doesn't exist. if record already exists, save will replace the object with new value. thats how save() works
sir autowired sa interface ka object kasa bna please btao???
After each insert the ID value keeps on increasing. After deletion, the ID still remains to the same value and increases from there. Any way to reset it?
I'd is set as autoincrement that's why it increase everytime and while delete data from db it is soft delete it means the data which u delete is not permanently delete that's why there is no way to reset I'd I think
Even after truncating table ID does not reset to 0 . How to reset these Auto Generated Values?
Sir concepts to samaj araha he laken spring boot using jpa ma ek project jab tak nahi karayega to concept ko hum sahi se use nahi kar parahihe for example hibernate jsp ma ap jaise project karaya he waisi ek ek Project banado spring boot using jpa..please sir,,,
how to generate automatic return type in STS?
what shortcut do you use for printing object name and type automatically ?
use ctrl+2 at the end of line, you will get few options, chose assign new variable.
sir yahi curd operation web application me video banaye na
First comment
what is the keyboard shortcut you are using in 8:26 for storing in variable??
ctrl+1
suppose we develope a website using springboot so it would be free or do we have to pay the oracle for using their technology?
Developing a website using Spring Boot is generally free, and you do not have to pay Oracle for using the Spring Boot framework or most of the technologies involved
When i am printing the object its showing the object address not the content saved in that object please help...
Iski previous video konsi hai please bataye ??
How to turn on shortcuts like directly make the variable which stores the returned value?
Press the Alt + Shift + L keys together from the keyboard, a pop-up window will be open, choose a variable name and click on the OK button.
Did not work for me@@KanhaiyaKumar-hm2ns
Bhai java 8 use karte jao na yaar market me wo hi chal raha hain
how to get all duplicate data from mysql database by getbyfirstName in rest api spring boot
Bilkul sir core java pada do.
Ho to find source code?
There is no source code at link provided by you.
Collection kab aayge sir
0:36 Project on Eclipse
please sir tell us how to use 13:08 shortcut
How to send async calls
hi, my company is not using mysql, they are using tomcat server, could you please tell me how to do it with tomcat only excluding mysql.
Thanks
MySQL is a database not a server ✨
At 3:20 my user is giving error with setName or setCity. What could be the error?? In the previous video as well it was giving error.
dude have resolved this problem
Facing the issue "no qualifying bean of type User Repository" available.. Please help.. I have spent hours figuring this out..
P. S I HAVE ALREADY TRIED BY KEEPING THE POJO, DAO AND MAIN CLASS IN SAME PACKAGE.. IT DIDN'T WORK
Did you sort it our ?
Add jakarta.persistence dependency in your pom.xml file if you are using latest spring boot version
Sir Testing par bhi bna dijiye playlist development k sath testing bhi seekh jaenge
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
bhaiya notes provide kijiye na please...
18 ot important ashay .
I have a question .can you please solve .I will pay for it
How did you get the bean of UserRepository here?
Here you didn't declared any stereotype annotation.
You only just extended UserRepository with CRUDRepository.
Can you please revert on this to clear this basic confusion?
ApplicationContext and BeanFactory these are the bean containers that help us in getting the beans of the corresponding class.
We can use getBean() method if we have not annotated the corresponding class, the same is happening in this example as well. Here we are not using annotations that would create the singleton object of the class by ApplicationContext rather we are using the getBean() method to get the desired bean object. The getBean() method is present inside the BeanFactory and since ApplicationContext extends BeanFactory thus we have the liberty of calling that.
In this example as well we have the object of ApplicationContext and by the help of that we are calling the getBean() method inside which we have passed the Repository class/interface.
Hope this resolves your query!
Durgesh bhai Mjf ke fan ho kya?
Sir please tell me how you can complete your line automatically like as soon as you called userRepository.findById(); how automatically optional reference variable created. Please tell this shortcut.
....Sir Pleaseee Reply .
sir yes, i also want to know
use ctrl+2 at the end of line, you will get few options, chose assign new variable.
नमस्ते
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class.
how to solve this error?
share the screenshot.
But most probably you have forgotten to add the properties in the application.properties or application.yml.
Sir spring Boot bahut jldi khtam ho gya haha.. sir Kuch Skip toh nhi kr diya ...btw love your videos and Sir erp software laao sir spring boot p
Web server failed to start. Port 9090 was already in use.
Everytime am changing in program this error is always show everytime needs to change port number and then run
how to fix this can anyone telll
add dependancy spring boot devtools
Kitne video aur baki hai spring boot mai
8:33 Java 8 vs Java 9
Assign k liye option kaise as Gaye koi batao bhai
azim rahman ctrl + 1
I wonder, why you are not using @EnableJpaRepositories??
Is it optional??
@EnableJpaRepositories
This will enable the JPA repositories that contains in the given package(s).
For instance, Enabling auto configuration support for Spring Data JPA required to know the path of the JPA the repositories. By default, it will scan only the main application package and its sub packages for detecting the JPA repositories. Therefore, if the JPA repositories are placed under the main application package or its sub package, then it will be detected by the @EnableAutoConfiguration as a part of auto configuring the spring based configurations. If the repository classes are not placed under the main application package or its sub package, then the relevant repository package(s) should be declared in the main application configuration class with @EnableJpaRepositories annotation. Then this will enable the JPA repositories contains in the given/declared package(s).
There no need to use by default if we are in correct package
@@LearnCodeWithDurgesh Ohh I see.
Any plans on making video on hibernate validator??
sava function is not working
Bahot confusion kar diya create karne me
how use shortcut 11:36 (czcams.com/video/uQWYAA7hpVU/video.html)
Please help to fix this org.springframework.beans.factory.NoSuchBeanDefinitionException
I am getting this error in eclipse but not getting in intelIj.