Java REST API with Spring Boot, Spring Data JPA and MySQL covers Create, Read, Update, Delete i.e. CRUD Operations will ReadAll / GetAll operations in detail. This tutorial covers detailed explanation along with thorough demonstration and then tested using Postman and MySQL Workbench. This will definitely be very helpful for those who are looking learn Java REST API with Spring Boot and MySQL database. This is a high in demand skill; hence this session will definitely be beneficial for you. Enjoy learning. Cheers, Esha
Thank you for this video, it is really helpful. I have a doubt , what if cloud vendor info table is having addition and deletion of columns on daily basis. How can I address this scenario
Mother is the biggest guru in the world. Whenever I watch your tutorial, I feel like my mom is teaching me Java, so mam, whatever playlist of Spring Boot Microservices you have, you can completed all springboot with microservices the playlist. Please do it, And I have learned a lot from your RU-vid channel and want to learn further, so please post the complete tutorial of Spring Boot Microservices, complete this course, add all these videos like Jenkins, Kubernetility, dockers etc. in the playlist, I will not go outside anywhere else.
Excellent video. Whole CRUD operation explained in such a clear and informative way. Very useful for someone to get complete flow of Java Rest API framework.
Thank you Madam for a breif explanation ..It is a complete practical video of Java rest ful api development using Spring boot framework,testing Postman and MySQL workbench .
Thank you so much Esha very good work explained everything very well without any confusion to the audience/viewers. You actually cleared lot of stuff in this one video like why a particular thing is required over there why we have to write nor why it is performed over there particularly "Just explained like a teacher explaining to their primary class students ". Thanks a lot for your efforts for this video There are lot of people out their who need a instructors like you 💌
I want to say big thanks. This tutorial saved me a lot of time and gave me a great example. Keep up the good work and the well-earned subscribe and like!
Very good lecture. For me, when using Spring Boot version 3 some imports (such as javax.persistence.Entity) need to be changed to jakarta.persistence.Entity
Hi Mam, I watched your spring boot playlist and found your explanations very clear. I have a question about the cloudvendorRespository and the cloudvendor model class. Should I create a repository for each model class, or can I extend multiple model classes within a single repository?
Mam am facing issue i cannot post the vendor details in the post man throwing 404 error method not allowed, tried everything like component scan and port changing and path variable checking nothing works please guide me.
Thank you so much 🙂 Stay connected. Exception handling tutorial with Rest Api is available here - Exception Handling in Spring Boot REST API Explained With Demonstration ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-L2o485T70Do.html
Thanks for an in depth explanation ma'am, looking forward to more such videos on Java, and Spring Boot. Maybe you can make a video on deploying the application to cloud using Heroku/AWS ma'am.
Hi, As of Spring 4.3, it is no longer needed to specify an explicit injection annotation i.e. @Autowired in a single-constructor scenario. Since, example which I have taken has only one constructor, hence @Autowired is not required.
Excellent way of teaching madam. Thank you so much. I have done your BUILD JAVA REST API WITH SPRING BOOT too. Only problem I have is table hasn't been created but database got created. If you have any suggestion for solving this please!!! Thank you again.
Hi Mam i like your explanation it's very clean and clear , Cloud you please make a video on Load balancer client side as well as server side and one video on messaging systems like Kafka and RabbitMQ
Maam, I have a small doubt that *Spring-data-jpa* will support us to connect with MySQL DB, then why again we need to add MySQL dependency again, if am wrong pls correct me..!
Hi mam i am getting this error “ Missing artifact com.mysql:mysql-connector-java-jjar:8.0. “ while creating Rest Api in above way. I have added dependency in pom. Xml as well. how to resolve this
I just have few questions 1) In the video the database table is generated automatically while in my case i have to create it manually and then it gets connected. although i am not using mysql workbench instead i am using mysql through xamp. 2) If i import the table in my sql and it has column names as userId, userName etc... and in spring boot model also i name them similarly userId, userName..but when the table is connected somehow it require the value as user_id..why is it so bcoz i have never defined user_id.
@@ThinkConstructive I noticed it now ! Thanks anyways, but I still have some doubts, what if I wanted a soft deletion instead of a normal delete, and an attribute 'CreationData' or something close ? Can't find anything.
Nice! There is no direct API available for soft deletion. Following steps can be used for soft deletion - 1. Include one more attribute in the database and use this attribute as flag (indicator) for deleted or not and set its default value to false 2. for soft deleting the row, use update query and set this flag attribute to true. 3. query database with a condition where flag is false.
Wonderful video. Your way of teaching is soooo good and everything was so organised and clear. But I was not able to connect to my sql. I dont know what happend. Is there anything else I need to do to connect to mysql ?
Thanks 😊 Please check mysql ip/ port /userid and password related info. Mysql should be up and running before starting the application and also please include below dialect just in case missing in application.properties / application.yaml - jpa: properties: hibernate: dialect: org.hibernate.dialect.MySQL5InnoDBDialect
Mam I've written an application having api and deployed that application in a server...now want to access that api in another application..pls give some demos for that.Also wanted to add swagger to my application.how can I do it?
Dear Maam, it is a nice explanation, but one thing, why you made the methods of the interface ( CloudVendorService) as public? they are by default public and abstract. Please consider my point.
Madam, database connection through application.yaml was not establishing, hence i used application.properties file for database connection, then it happened.
Thanks this is a best video of Spring boot demo. By the way, I am wondering that in MySQL Workbench, how can you get the cloud_vendor? Am I supposed to run the MySql Script? If it is, may I have that script please? Thank you!
Hi I thought I have solved this question after fully watching the video. however, I found a new issue, ie. I tried to INSERT VALUE into the database instead of adding the data to the database with POST/PUT. When I check the cloud_vendor_info with SELECT it shows the correct result. When I trigger the POST to add new data, I found that the previous data I inserted into the database was missing. How did it happen? Thank you for your help!
this.cloudVendor = null; In delete mapping, will delete all records and that u cannot fetch(get) C1 or C2. It doesnot delete based on vendorId.. FYI. Thanku for wonderful explanation.