Spring Boot CRUD Web Application with Thymeleaf, Spring MVC, Spring Data JPA, Hibernate, MySQL

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии • 231

  • @JavaGuides
    @JavaGuides  4 года назад +14

    Next recommended tutorial - Pagination and Sorting with Spring Boot, ThymeLeaf, Spring Data JPA, Hibernate, MySQL at ruclips.net/video/Aie8n12EFQc/видео.html

    • @snex-techprogrammer5110
      @snex-techprogrammer5110 4 года назад +1

      Hello Java Guides, on updating the employees a new employee is being added instead of updating the old one. Where might be the problem please?

    • @nagammanagamma289
      @nagammanagamma289 4 года назад

      Bro data is not saving when I enter localhost:8080

    • @dilrajsingh5987
      @dilrajsingh5987 4 года назад

      @@snex-techprogrammer5110 Yes Update is not working it is just adding a new employee instead

    • @ramoncorey8843
      @ramoncorey8843 3 года назад

      instablaster...

    • @sushmak5088
      @sushmak5088 2 года назад

      I am getting error during template parsing(template:"class path resource)

  • @forme5794
    @forme5794 3 года назад +20

    It work properly without any issue. Finally got an appropriate tutorial.

  • @jonsantos6056
    @jonsantos6056 2 года назад +4

    17:00 Repo creation
    17:38 Service interface creation - also Calls method
    18:50 ServiceImpl class creation (implements Service interface - need to annotate @Service at class level)
    21:18 Controller creation
    24:34 Thymeleaf for index html page (should be located in src/main/resources/templates)
    32:12 new Service interface method addition

  • @namarajeshwer
    @namarajeshwer 4 года назад +1

    Mr.Ramesh You are a rock man.. Seriously.

  • @ShaluRajput573
    @ShaluRajput573 Год назад

    One of the best CRUD tutorial out there. Thanks a lot Sir !!

  • @rubi0671
    @rubi0671 Год назад

    Thank you so much Ramesh ji. Just now I finished this project. Update and delete function works fine. But I had a white label error page while adding employee. I resolved it by giving AI(auto increment) option to the ID(i.e.primary key) in MySQL workbench. Then again i run my spring boot project and now i can able to add the employees in webpage. Those who are facing the difficulty while adding employees in your project, make a change in ID by giving auto increment.

  • @michelleIX
    @michelleIX 2 года назад +1

    This was a great tutorial.Straight to the point with good examples to learn from. Love from Texas

  • @kalamani9175
    @kalamani9175 3 года назад +4

    Hi Ramesh, Nice video. I just finished to getall employees list. FYI-I am trying to use MSSql and was able to connect to the SQL server, JDK 11 and retrieve data only after I set the employee properties to public instead of private. And for Add-new-employee.html th:field is not recognized. Use attribute name="firstName"...and worked

  • @Onigob
    @Onigob 2 года назад +1

    Amazing tutorial, thanks so much. The step by step explanations were much appreciated, and now I understand this a lot better! Thanks again so much!

  • @soumyanaidu1987
    @soumyanaidu1987 4 года назад +1

    Really useful content . Good job. the best part is no unwanted discussion .

  • @akshayjadhav4340
    @akshayjadhav4340 2 года назад

    Thank you so much sir...i just did this project and it worked..tons of thanks for boosting my confidance

  • @pvd4170
    @pvd4170 2 года назад

    Thank you so much for your efforts! Very good tutorial. Thanks for tutorial divided by parts, because its lot better to see a result after adding each feature!

  • @shoaibdalal8096
    @shoaibdalal8096 2 года назад

    This is very useful to me. My project is running on spring boot. I have no idea about spring boot. Now u've cleared my doubt. So, plz send me this video.

  • @ub2320
    @ub2320 4 года назад

    Bro thanks a lot. You just made my day. I fully understand the process and how to create, save, update and delete an employee.

  • @hotpickhive
    @hotpickhive 4 года назад +7

    I don't know why I laughed so much when he added John Cena as the employer. Lol. Anyways great tutorial!!

    • @Fernando31611
      @Fernando31611 3 года назад

      You cannot see him, but you can email him

  • @007mohiuddin
    @007mohiuddin 2 года назад

    I found this tutorial extremely helpful in my work.

  • @saiteja9783
    @saiteja9783 3 года назад

    Finally found the best video , thank you so much sir

  • @longtran1871
    @longtran1871 4 года назад +2

    tks for this tutorial.This help me a lot in my next exam

  • @eddiebongo4870
    @eddiebongo4870 Год назад

    Thank you so very much for this video. You earn my subscription

  • @malpathekoxato
    @malpathekoxato 2 года назад

    Thank you a lot! I made awesome things thanks to your videos

  • @shreyassalunkhe122
    @shreyassalunkhe122 2 года назад

    Great content & clear explanation in such a short time...!!!

  • @shankarghimire4492
    @shankarghimire4492 4 года назад

    Excellent!!! Tutorial buddy! Thank you so much. You are the perfect mentor.

  • @lnli9038
    @lnli9038 4 года назад

    Nice tutorial! Thank you for your efforts to put all basics all together.

  • @HassanGamalHassan
    @HassanGamalHassan 3 года назад

    very nice and well-arranged tutorials, from Egypt too many thanks bro.

  • @badguyrob
    @badguyrob 3 года назад +1

    At 28:44, when I refresh, the data I just entered does not show up. Any suggestions?

    • @jenithaj278
      @jenithaj278 3 года назад

      I'm also facing that issue, would you resolved?

    • @jithinwilfred8633
      @jithinwilfred8633 2 года назад

      @@jenithaj278 me too. Did you fixed that?

  • @kamilsulejewski3743
    @kamilsulejewski3743 4 года назад

    Fantastic tutorial. Greetings from Poland.

  • @elsinvilaguillen6022
    @elsinvilaguillen6022 4 года назад

    Good job, your channel helps me learn a lot.
    Thanks man.

  • @pallapolujahnavi3632
    @pallapolujahnavi3632 2 года назад

    Hi here at 13:57 u have created entity. I am unable to do that.please help.me

  • @preetijadhav2550
    @preetijadhav2550 Год назад

    Hello Thanks for this video. I have created this application but as I am trying to update the employee It is adding one more employee in the employee list rather than updating the previous one .

  • @nguyenhavu7542
    @nguyenhavu7542 2 года назад

    Best intructor !!! I love you

  • @Navarragirl27
    @Navarragirl27 3 года назад

    Great video with very clear explanations! Thank you.

  • @abhisaragarwal9084
    @abhisaragarwal9084 Год назад

    Thnx so much sir for the video I was easily able to understand everything pls tell how much time is needed to learn JavaScript and angular js

  • @javaprogramming1627
    @javaprogramming1627 4 года назад +1

    Nice tutorial ..good job🇵🇭🇵🇭🇵🇭😍😍😍

  • @jidsr1012
    @jidsr1012 4 года назад +1

    Hi Sir Thank you so much for this tutorial, it helped me a lot

  • @lukinn9874
    @lukinn9874 4 года назад +2

    Thanks for this very good video, I was able to solve my problem with it (y)

    • @nagammanagamma289
      @nagammanagamma289 4 года назад

      My data has been not saving from SQL to dashboard sir what 2 do

  • @ammarfahmy906
    @ammarfahmy906 4 года назад +3

    excellent... but can you make with IntelliJ ?

  • @kairiannah
    @kairiannah 2 года назад

    Thank you for taking your time to make this great tutorial and educate us! You have earnt my subscribe

  • @anantpratapsingh9067
    @anantpratapsingh9067 2 года назад

    sir at 11:40 from where u get all these properties and url link ?
    please help i'am stuck in that portion.

  • @biswajitprusty9040
    @biswajitprusty9040 3 года назад

    wow😎😎, amazing tutorial got some good hands-on practice, thankyou so much for the efforts you have to put in to make this video.

  • @mukeshkhan4684
    @mukeshkhan4684 4 года назад

    Thanks dear, its very usefull topic. tutorial explainig also very clear.. again tanks..

  • @crazyking3974
    @crazyking3974 2 года назад

    Sir program was run sucessful...
    But I have one small doubt please clarify my doubt.. At 24:44 you pasted some code .. on that code employee is where it is come from please say...

    • @JavaGuides
      @JavaGuides  2 года назад

      You can get code from my blog or GitHub repository. Link in the video description

  • @sufilogcreation2526
    @sufilogcreation2526 4 года назад +3

    my data has not been saving from mysql to dashboard what to do?

  • @akshayshinde4245
    @akshayshinde4245 3 года назад

    You are really awesome bro 😌Thank you for your tutorials. Appreciated 🙏❤️Keep uploading videos, it's really easy to understand.

  • @ghezaegoitom4429
    @ghezaegoitom4429 2 года назад +1

    Great tutorial, Thank you

  • @JavaGuides
    @JavaGuides  4 года назад

    Free course - Angular + Spring Boot CRUD Full Stack Application at ruclips.net/p/PLGRDMO4rOGcNzi3CpBWsCdQSzbjdWWy-f
    Free Course - ReactJS + Spring Boot CRUD Full Stack Application
    at ruclips.net/p/PLGRDMO4rOGcNLnW1L2vgsExTBg-VPoZHr

  • @marckhycs319
    @marckhycs319 3 года назад +1

    for people getting error in hibernate because you are using MySql 8
    try this
    spring.jpa.properties.hibernate.dialect = org.hibernate.MySQL8Dialect
    in application.properties

  • @abmaelbandeira5839
    @abmaelbandeira5839 4 года назад

    Excellent teaching, very grateful

  • @vyshnavireddymungi3625
    @vyshnavireddymungi3625 4 года назад

    It was a good tutorial and informative one....thank you for the clear explanation...😁

  • @HunterYavitz
    @HunterYavitz 3 года назад

    Invest in a good microphone, your videos are worth it!

  • @shashankshekhar9898
    @shashankshekhar9898 3 года назад

    I have created the demo table in MySql Workbench, but in my Employee.java class under model, if I hover over "@Table(name = "employees)" it says "Cannot resolve table 'employees'", do we have to create the table first in MySql? I don't know what I doing wrong.
    While i run my application on Intellij, I get this error Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
    2021-03-15 10:52:54.020 ERROR 6664 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed

    • @shashankshekhar9898
      @shashankshekhar9898 3 года назад

      Do we need to do some setup in My Sql first?

    • @JavaGuides
      @JavaGuides  3 года назад

      You need to create database in workbench, hibernate will create tables automatically.

  • @GameWithTonyYT
    @GameWithTonyYT 2 года назад

    Hello i`m using InteliJ comunity eddition. How do i add the Thymeleaf tamplate ?

  • @priyangakrish7930
    @priyangakrish7930 Год назад

    Can add a view button so if we click on view it should display the particular id details with image also backend

  • @zuberdiwan8123
    @zuberdiwan8123 2 года назад

    Amazing tutorials...very helpfull

  • @pankajpandey6298
    @pankajpandey6298 3 года назад

    11:50 from where did you copy all data resources n all in application properties

    • @JavaGuides
      @JavaGuides  3 года назад

      Check links in video description

    • @pankajpandey6298
      @pankajpandey6298 3 года назад

      @@JavaGuides got it!! thanks . Can we do this project using jpa not hibernate?

  • @22amit0891
    @22amit0891 2 года назад

    Hi, I am getting white labeled Error Page with update and delete option. Not sure why?

  • @zimprogrammer8313
    @zimprogrammer8313 4 года назад +1

    This is a good tutorial , I followed it but i am getting the following error
    Whitelabel Error Page
    This application has no explicit mapping for /error, so you are seeing this as a fallback.
    Wed Jul 22 20:39:03 CAT 2020
    There was an unexpected error (type=Bad Request, status=400).
    form the console , the error is described as follows
    Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'long'; nested exception is java.lang.NumberFormatException: For input string: "saveEmployee"]
    how can i resolve it

  • @Techusers2-rw2gb
    @Techusers2-rw2gb 13 дней назад

    Sir database configuration me aap konsi key kr rhe hai ki database related information aa ja rhi hai

  • @adityatambe816
    @adityatambe816 3 года назад

    Thank you so much for this tutorial.

  • @mohammedalsaad7818
    @mohammedalsaad7818 3 года назад

    hey thank you very much for the video, the submit button dose not work in my program, dose anybody know why?

  • @Faisalchoudhary-s6s
    @Faisalchoudhary-s6s Год назад

    After the first run automatically table is not created in the database..can someone pls address this?

  • @SinComentarios11552
    @SinComentarios11552 3 года назад

    thank you so much for this tutorial.

  • @saritaadhikari3633
    @saritaadhikari3633 Год назад

    Why my update is saving new Employee instead of updating the exiting one?

  • @DevEntertainmentIndustry
    @DevEntertainmentIndustry 3 года назад +1

    helpful tutorial thanku sir🤘🤘🤘🤘🤘

    • @DevEntertainmentIndustry
      @DevEntertainmentIndustry 3 года назад

      sir can u pls call me on this no 9728457113....i wana talk to u ...if u dn mind ....

    • @DevEntertainmentIndustry
      @DevEntertainmentIndustry 3 года назад

      i want to learn spring boot.......pls call me sir...u cb trust on me sir

  • @rajveerkaur3156
    @rajveerkaur3156 2 года назад

    I have changed many ports .. 8080 also already in use... Help me

  • @dimitrisgiagos7684
    @dimitrisgiagos7684 4 года назад +5

    Hello! I followed your tutorial step by step but spring boot doesnt seem to fetch the data entries of the mysql table..It just loads the index.html without data! Thanks

    • @jenithaj278
      @jenithaj278 3 года назад

      For me also.. what you did? Please tell me

    • @beautitude364
      @beautitude364 3 года назад

      @@jenithaj278 just check the application properties,i got it correctly

    • @moonshine4757
      @moonshine4757 3 года назад

      I've same problem. Not able to create table in Oracle db, just index.html works for me. Does anyone know application properties for Oracle?

    • @jithinwilfred8633
      @jithinwilfred8633 2 года назад

      Did you fixed that? I am having the same error. Can you help me

    • @dimitrisgiagos7684
      @dimitrisgiagos7684 2 года назад

      @@jithinwilfred8633 if i am not mistaken it was something with the db connection configuration..not quite sure though

  • @tharoseth8064
    @tharoseth8064 2 года назад

    Thank you for your helpful tutorial ❤️👍

  • @vikrampurohit5368
    @vikrampurohit5368 Год назад

    Hi , Im Unable to display records on local host from mysql workbench , could you please help

  • @jibinjames5128
    @jibinjames5128 3 года назад

    Good one , Keep Teaching .

  • @0mr.240
    @0mr.240 3 года назад

    Thanks, it is helpful and easy to understand.

  • @zearius8557
    @zearius8557 Год назад

    Who was the second employee you added? I couldn't see him??

  • @graziellycunha4325
    @graziellycunha4325 4 года назад +2

    Parabéns pelo trabalho, ultimamente material de boa qualidade está escasso. 🇧🇷🇧🇷🇧🇷 :D

  • @hemantsah9408
    @hemantsah9408 3 года назад

    In this project Mysql Connector Jar is not used?

  • @nvprasadpuppala5003
    @nvprasadpuppala5003 4 года назад

    Really helpful content ..explanation is too awesome 👌

  • @Karyan1010
    @Karyan1010 Год назад

    If our recruiter or professor ask us that what problem this project is solving then what we can answer to make it scalable.

  • @mdafsarkhan5338
    @mdafsarkhan5338 3 года назад

    Hello Everyone. could anyone plzz help me what we have to do at 11:30 to get the SQL configuration?

    • @JavaGuides
      @JavaGuides  3 года назад

      You can copy the database configuration from blog post or GitHub repository.
      Links given in a video description.

  • @Camilacalderon123
    @Camilacalderon123 3 года назад

    Hi, your videos are amazing. But I have a problem, the add method does not work well, I don't know why, if I do everything as you do in the video.

  • @vinayshenoy9896
    @vinayshenoy9896 2 года назад

    sir can you make a video where we use modal form for add and edit (popup buttons)
    please

  • @shivareddyparlapally2836
    @shivareddyparlapally2836 Год назад

    The Employee table is not getting reflected in mysql

  • @pythonpathwithhimalay
    @pythonpathwithhimalay 3 года назад

    Greate job bro i was looking for the exect same video

  • @javaprogramming1627
    @javaprogramming1627 4 года назад

    how to to create that after running the dashboard will show then buttons on the dashboard directed to list of entity. how to do that?

  • @dawidjedrzejczak225
    @dawidjedrzejczak225 4 года назад

    Hi! Thank you for this tutorial. In my case i must add to the JDBC allowPublicKeyRetrieval=true. I ran MySQL on Docker.

  • @rachitmathur1486
    @rachitmathur1486 3 года назад +1

    Hi, for my sake please make more videos on Springboot, Rest, Angular, SpringMVC, Java-Lambda, and other concepts on Java with easy-explanation with time-to-time notion.

    • @JavaGuides
      @JavaGuides  3 года назад

      Videos on these concepts are already available on this channel.

  • @issamnaouali1574
    @issamnaouali1574 2 года назад

    hi i have a problem to run the the app "Identify and stop the process that's listening on port 8080 or configure this application to listen on another port."
    i changed the web server port to 80 but always not running any idea please ?

  • @91vasanth
    @91vasanth 3 года назад

    My view resolver is not working I don't know why
    I have the thymleaf dependency in pom (I had forgot to add it while creation of the project, So added later in pom.xml)

  • @sarasijpaul9634
    @sarasijpaul9634 3 года назад

    Hi.
    This video has been very helpful.
    Is there any way to use Postman for API manipulation from this application? I want to hit my CRUD services via POSTMAN. How can I do this?

  • @sundharesanmohan2816
    @sundharesanmohan2816 3 года назад

    Why we are using viewHomePage(Model model){}? What is Model and why we are using it as arguements?
    (@19.47)

  • @ritikagarg9249
    @ritikagarg9249 2 года назад

    Databse data is not showing in my output ...wht i have to do

  • @Stivan32
    @Stivan32 4 года назад

    Awesome tutorial th you very much!

  • @parvbhardwaj1997
    @parvbhardwaj1997 3 года назад

    Sir, you're awesome!

  • @srividyavenganna850
    @srividyavenganna850 2 года назад

    Getting error in pom.xml if adding starter-web

  • @jaristersilalahi193
    @jaristersilalahi193 3 года назад

    thank you sir. It's really help me

  • @mistershadow4290
    @mistershadow4290 3 года назад

    Can I perform this in Intellij without any issues ??.. please reply

  • @dheebanm3207
    @dheebanm3207 4 года назад

    Very useful bro,thank U

  • @salehaiqbal3962
    @salehaiqbal3962 Год назад

    good tutorial thanks a lot!

  • @seagypsy2591
    @seagypsy2591 3 года назад

    would be nice if he would scroll to the right on his application.properties so we can see all that is typed on the first line, since he isn't wrapping his text to make it all visible.

  • @ahmetergun7087
    @ahmetergun7087 3 года назад

    thanks i learned a lot!

  • @vladsvyatobatko5613
    @vladsvyatobatko5613 4 года назад

    Please make a video how to make a website using Spring core and not using Spring boot to authorize usera in the system.

  • @divyaborse5739
    @divyaborse5739 3 года назад

    Great tutorial Thanks

  • @rajkumaraddu
    @rajkumaraddu 4 года назад

    very well explained bro.

  • @meenajadhav07
    @meenajadhav07 4 года назад

    This is awesome 👏