CRUD Operation using JPA and Spring Boot | CREATE | READ | UPDATE | DELETE in one video [HINDI]

Sdílet
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.

Komentáře • 124

  • @mdajaz7520
    @mdajaz7520 Před 3 lety +23

    A single trainer in you tube
    Who explains A to Z in very short period

  • @kumarnavaneet340
    @kumarnavaneet340 Před rokem +2

    Awesome.. Understood in 1 go.. have been trying from many places but the way you explains is just amazing. Thank you Brother.

  • @rahul-java-dev
    @rahul-java-dev Před 3 lety +1

    Woww lovely video Sir ji... Thank you so much.

  • @amitsh5413
    @amitsh5413 Před 2 lety +7

    One day u will touch the peak of a human life ,,, god bless u

  • @nishakhubchandani8851
    @nishakhubchandani8851 Před 10 měsíci

    You are awesome sir. Thank you so much for such a great explanation. Each and every detail is explained in all tutorials.

  • @HarishRathod-yl8nw
    @HarishRathod-yl8nw Před rokem

    very well explained . please continue making such amazing content

  • @atharvsingh6901
    @atharvsingh6901 Před 3 lety +1

    great.helping in job.thanks guruji

  • @aqibishaq885
    @aqibishaq885 Před 3 lety

    arey wa bht jald la aye crud in spring boot sa

  • @user-yd9je6nt5w
    @user-yd9je6nt5w Před rokem

    Amazing Content,
    Best Explaination

  • @bikashjha4757
    @bikashjha4757 Před 2 lety

    one of the best guruji .

  • @anujjain1456
    @anujjain1456 Před 3 lety

    Excited for Spring boot project ..

  • @thepowerofanime4619
    @thepowerofanime4619 Před 3 lety +1

    Let's gogo u r awesome sir

  • @chandanjena5214
    @chandanjena5214 Před 3 lety

    Banda save ho gaya .. nice line..

  • @Faisal-du7st
    @Faisal-du7st Před 5 měsíci

    Very Help Full Brother

  • @Studies09
    @Studies09 Před 3 měsíci

    Very helpful video sir

  • @mukeshkumar-sc7bk
    @mukeshkumar-sc7bk Před 3 lety

    Thank you sir

  • @lokeshr9794
    @lokeshr9794 Před 3 lety

    thank you sirji

  • @Vinu-Arts
    @Vinu-Arts Před 10 měsíci

    Thank you so much sir..........

  • @altamasahmad3938
    @altamasahmad3938 Před 3 lety +1

    Dhanshoo!

  • @LIN30Sec
    @LIN30Sec Před 3 lety

    Excelent
    ..................op

  • @RajaRaj-du6zm
    @RajaRaj-du6zm Před 3 lety

    Nice tutorial

  • @sandeeppagare2212
    @sandeeppagare2212 Před 2 lety

    very nice video sir

  • @saurabhkailashchandrapuran8609

    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

  • @businessalgo
    @businessalgo Před 3 lety +2

    Perfect hai

  • @kishanraj5905
    @kishanraj5905 Před 7 měsíci

    thank u sir

  • @developernilesh
    @developernilesh Před 2 lety

    V nice dear sir

  • @gouravpandey7474
    @gouravpandey7474 Před 3 lety

    Can you please make another video and explain crud operations using hexagonal architecture in Spring boot 🙏🙏🙏🙏

  • @maheshshete7000
    @maheshshete7000 Před 2 lety +1

    Ple make video on which topic previously covered...so easy for understanding...

  • @saniyamansuri2530
    @saniyamansuri2530 Před 3 lety

    Nice

  • @gouravpandey7474
    @gouravpandey7474 Před 3 lety +1

    please if you have enough time please brief me about hexagonal architecture🙏🙏

  • @prisinha
    @prisinha Před 2 lety +5

    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);

  • @RajaRaj-du6zm
    @RajaRaj-du6zm Před 3 lety +1

    Nice vdo

  • @manasranjan7894
    @manasranjan7894 Před 5 měsíci

    You are my new guruji . Love the teaching . Very clear explanation

    • @adityaparihar902
      @adityaparihar902 Před 5 měsíci

      hey can we connect i'm also learning spring boot nowdays.

    • @manasranjan7894
      @manasranjan7894 Před 5 měsíci

      @@adityaparihar902 Sure !! Give me your contact details …..

  • @vanshrajput751
    @vanshrajput751 Před 2 lety +2

    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

  • @rajput_manoj
    @rajput_manoj Před 3 lety +1

    please make videos on springboot with couchbase CRUD.

  • @ROHITSINGH-zz6xy
    @ROHITSINGH-zz6xy Před 3 lety +1

    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

  • @techgyan6233
    @techgyan6233 Před 3 lety +1

    Sir please tell me how to handle NoSuchElementException if data not preset in database

  • @harshthakur1159
    @harshthakur1159 Před rokem

    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

  • @pratikgaurav653
    @pratikgaurav653 Před rokem +3

    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"

  • @shivesh143
    @shivesh143 Před 3 lety +2

    Kindly make videos on microservices

  • @kartikagrawal5399
    @kartikagrawal5399 Před 9 měsíci

    Very complicated explanation of this topic

  • @seetesmallik5830
    @seetesmallik5830 Před rokem

    🔥

  • @Codestry
    @Codestry Před 3 lety

    Please plan an online discussion session (NOT coding) basically video session through Hangout/webex etc.

  • @aastha4708
    @aastha4708 Před 3 měsíci

    Sir ji maine bhi banda bana diya 😀😀

  • @asmitapoddar4572
    @asmitapoddar4572 Před 3 lety

    you are teaching very fast and explaining in deep juz going fast fast

  • @sahilgandhi9156
    @sahilgandhi9156 Před rokem

    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

  • @TechRevenue
    @TechRevenue Před 2 lety

    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

    • @shyamagarwal5741
      @shyamagarwal5741 Před 2 lety

      use ctrl+2 at the end of line, you will get few options, chose assign new variable.

  • @pravinpatil-sy9nq
    @pravinpatil-sy9nq Před 3 lety +1

    how to use ..arraylist ....skipp list of ..for saving multiple user

  • @apurbachatterjee8321
    @apurbachatterjee8321 Před 3 lety +1

    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

  • @AdduKeShorts
    @AdduKeShorts Před 7 měsíci

    PERFECT HAI😂😅

  • @jashbhadiyadra6504
    @jashbhadiyadra6504 Před 2 lety

    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?

  • @nishanthedaoo8937
    @nishanthedaoo8937 Před 3 lety +3

    Sir aap classes lete ho kya online

  • @rituraj-em2hs
    @rituraj-em2hs Před 3 lety +1

    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.

  • @shubhangipatil4830
    @shubhangipatil4830 Před rokem +1

    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?

    • @sumanthkarmarkar1760
      @sumanthkarmarkar1760 Před rokem

      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

  • @aqibishaq885
    @aqibishaq885 Před 3 lety

    sir autowired sa interface ka object kasa bna please btao???

  • @aaravchandra3082
    @aaravchandra3082 Před 3 lety +2

    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?

    • @somyagupta7773
      @somyagupta7773 Před 2 lety

      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

  • @NatureWithYahya
    @NatureWithYahya Před 2 lety

    Even after truncating table ID does not reset to 0 . How to reset these Auto Generated Values?

  • @samimmolla3821
    @samimmolla3821 Před 3 lety

    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,,,

  • @kevalvashi3733
    @kevalvashi3733 Před rokem

    how to generate automatic return type in STS?

  • @chillySauceMind
    @chillySauceMind Před 2 lety +1

    what shortcut do you use for printing object name and type automatically ?

    • @shyamagarwal5741
      @shyamagarwal5741 Před 2 lety +2

      use ctrl+2 at the end of line, you will get few options, chose assign new variable.

  • @ashokkumar-ul6ri
    @ashokkumar-ul6ri Před 3 lety

    sir yahi curd operation web application me video banaye na

  • @soundwave9649
    @soundwave9649 Před 3 lety

    First comment

  • @debayanroy6325
    @debayanroy6325 Před rokem

    what is the keyboard shortcut you are using in 8:26 for storing in variable??

  • @obaidabbasi7156
    @obaidabbasi7156 Před rokem

    suppose we develope a website using springboot so it would be free or do we have to pay the oracle for using their technology?

    • @digvijaypal7101
      @digvijaypal7101 Před měsícem

      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

  • @SumitKumar-xt8ln
    @SumitKumar-xt8ln Před rokem

    When i am printing the object its showing the object address not the content saved in that object please help...

  • @Pinkii8989
    @Pinkii8989 Před rokem

    Iski previous video konsi hai please bataye ??

  • @gandhijainamgunvantkumar6783

    How to turn on shortcuts like directly make the variable which stores the returned value?

    • @KanhaiyaKumar-hm2ns
      @KanhaiyaKumar-hm2ns Před rokem

      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.

    • @user-vq7sl1ze1n
      @user-vq7sl1ze1n Před 7 měsíci

      Did not work for me@@KanhaiyaKumar-hm2ns

  • @dhirajkumarlll
    @dhirajkumarlll Před 3 lety +1

    Bhai java 8 use karte jao na yaar market me wo hi chal raha hain

  • @AdityaKumar-gh8sr
    @AdityaKumar-gh8sr Před rokem

    how to get all duplicate data from mysql database by getbyfirstName in rest api spring boot

  • @pankaj90241
    @pankaj90241 Před 3 lety

    Bilkul sir core java pada do.

  • @zaid696
    @zaid696 Před 3 lety +1

    Ho to find source code?
    There is no source code at link provided by you.

  • @ishusuryavanshi8435
    @ishusuryavanshi8435 Před 3 lety +1

    Collection kab aayge sir

  • @prisinha
    @prisinha Před 2 lety

    0:36 Project on Eclipse

  • @akashnema2361
    @akashnema2361 Před 2 lety

    please sir tell us how to use 13:08 shortcut

  • @shrutirajpoot6310
    @shrutirajpoot6310 Před 3 lety

    How to send async calls

  • @vaibhavthakur9973
    @vaibhavthakur9973 Před rokem

    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

    • @sscode3809
      @sscode3809 Před 10 měsíci

      MySQL is a database not a server ✨

  • @travelspurs
    @travelspurs Před 2 lety

    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.

  • @shwetasinha2482
    @shwetasinha2482 Před 2 lety +1

    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

  • @gauravroy1430
    @gauravroy1430 Před 3 lety

    Sir Testing par bhi bna dijiye playlist development k sath testing bhi seekh jaenge
    ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️

  • @abhijeetbasfore6816
    @abhijeetbasfore6816 Před 3 lety +1

    bhaiya notes provide kijiye na please...

  • @PRISOM1988
    @PRISOM1988 Před 9 měsíci

    18 ot important ashay .

  • @moviesjuggad
    @moviesjuggad Před 10 měsíci

    I have a question .can you please solve .I will pay for it

  • @lalitdashora8473
    @lalitdashora8473 Před rokem

    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?

    • @hemendrachouhan6296
      @hemendrachouhan6296 Před rokem

      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!

  • @bainapalliakash7039
    @bainapalliakash7039 Před 2 lety

    Durgesh bhai Mjf ke fan ho kya?

  • @ravirajsingh2266
    @ravirajsingh2266 Před 2 lety

    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 .

    • @chillySauceMind
      @chillySauceMind Před 2 lety

      sir yes, i also want to know

    • @shyamagarwal5741
      @shyamagarwal5741 Před 2 lety

      use ctrl+2 at the end of line, you will get few options, chose assign new variable.

  • @rishiraj2548
    @rishiraj2548 Před rokem

    नमस्ते

  • @maitreesarkar3115
    @maitreesarkar3115 Před rokem

    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?

    • @hemendrachouhan6296
      @hemendrachouhan6296 Před rokem

      share the screenshot.
      But most probably you have forgotten to add the properties in the application.properties or application.yml.

  • @sachinKumar-hu9gj
    @sachinKumar-hu9gj Před 3 lety

    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

  • @satishatugade9378
    @satishatugade9378 Před 2 lety

    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

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv Před 3 lety

    Kitne video aur baki hai spring boot mai

  • @prisinha
    @prisinha Před 2 lety

    8:33 Java 8 vs Java 9

  • @azimrahman3584
    @azimrahman3584 Před 3 lety

    Assign k liye option kaise as Gaye koi batao bhai

  • @hrishavdhawajpurkayastha7299

    I wonder, why you are not using @EnableJpaRepositories??
    Is it optional??

    • @LearnCodeWithDurgesh
      @LearnCodeWithDurgesh  Před 3 lety +3

      @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).

    • @LearnCodeWithDurgesh
      @LearnCodeWithDurgesh  Před 3 lety +2

      There no need to use by default if we are in correct package

    • @hrishavdhawajpurkayastha7299
      @hrishavdhawajpurkayastha7299 Před 3 lety

      @@LearnCodeWithDurgesh Ohh I see.
      Any plans on making video on hibernate validator??

  • @rupasingla9494
    @rupasingla9494 Před 2 lety

    sava function is not working

  • @mayankyadav8538
    @mayankyadav8538 Před rokem

    Bahot confusion kar diya create karne me

  • @akashnema2361
    @akashnema2361 Před 2 lety

    how use shortcut 11:36 (czcams.com/video/uQWYAA7hpVU/video.html)

  • @abhisheksrivastava9307

    Please help to fix this org.springframework.beans.factory.NoSuchBeanDefinitionException
    I am getting this error in eclipse but not getting in intelIj.