Тёмный

Java, Spring Boot, PostgreSQL, Spring Data JPA, Hibernate CRUD RESTFul API Tutorial [2024] 

Java Guides
Подписаться 158 тыс.
Просмотров 48 тыс.
50% 1

Welcome to the comprehensive video tutorial on creating a CRUD RESTful API using Spring Boot, PostgreSQL, Spring Data JPA, and Hibernate for 2024. This tutorial is designed for developers of all skill levels interested in advancing their knowledge in building robust, scalable, and efficient web applications with some of the most powerful technologies in the Java ecosystem.
My Top 10+ Udemy Courses (Bestseller Courses):
www.javaguides...
Java Guides blog: www.javaguides...
Company Website: rameshfadatare...
Spring Boot, a revolutionary framework, simplifies the development of new Spring applications through convention over configuration. It offers a vast array of features that enable developers to focus on their application's functionality rather than the boilerplate configuration.
PostgreSQL is a powerful, open-source object-relational database system that provides advanced features such as reliable transactions and concurrency without read locks. This makes it an excellent choice for applications requiring complex data management.
Spring Data JPA, part of the larger Spring Data family, makes it easier to implement JPA-based repositories. This module provides enhanced support for JPA-based data access layers, making it a breeze to work with data in relational databases.
Hibernate, an object-relational mapping (ORM) tool, simplifies the data creation, retrieval, update, and deletion operations in databases. It is a robust framework that handles all the heavy lifting of connecting your Java classes to a database using JPA annotations.
By the end of this tutorial, you'll have a clear understanding of how to leverage these technologies to create a fully functional CRUD RESTful API. You'll learn how to set up your development environment, configure your database, define your data model, and implement the necessary create, read, update, and delete operations accessible through a clean and intuitive API.
Whether you're looking to build your first API or aiming to sharpen your development skills, this guide will provide you with the knowledge and tools needed to succeed. Let's dive in and explore the powerful combination of Spring Boot, PostgreSQL, Spring Data JPA, and Hibernate.
#springboot #postgresql #restfulapi

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 76   
@HR-pz7ts
@HR-pz7ts 6 месяцев назад
You taught me hibernate in just 30 mins thats all I needed thanks a lot!
@snowjunkie2121
@snowjunkie2121 Месяц назад
Most tutorial I have been using are too slow, gernal, and I always ran into problems. This was the one of the only tutorial that really allowed me to get the project down and not run into problems because you showed everything in detail. I really appreciate the java, spring, hibernate, and postgres tutorials.
@harishsingh2451
@harishsingh2451 7 месяцев назад
This video provides a clear and thorough explanation, making it easy to understand. It would be beneficial to include additional videos covering topics such as Spring Security, pagination, communicating with other APIs/endpoints, sessions, caching, and various real-time modules. These topics are essential for real-time project development and would greatly benefit viewers looking to delve deeper into practical applications. Thanks in advance.
@saketh.j2450
@saketh.j2450 7 месяцев назад
What are the contents this video has taught you can u please elaborate it ?
@deepakantoj432
@deepakantoj432 7 месяцев назад
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
@deepakantoj432
@deepakantoj432 7 месяцев назад
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
@yilberagueropadilla5978
@yilberagueropadilla5978 5 месяцев назад
Now, I understand much better, thanks for your video tutorial.
@dridisalah5754
@dridisalah5754 4 месяца назад
Thank you for this video. I had an issue with using Spring Boot, and now the problem has been solved ❤❤
@diegobarcellos3639
@diegobarcellos3639 7 месяцев назад
Thank you very much to share your knowledge...keep rocking, best wishes!
@deepakantoj432
@deepakantoj432 7 месяцев назад
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
@JavaGuides
@JavaGuides 6 месяцев назад
@@deepakantoj432 install Lombok plugin in your IDE
@ememdi
@ememdi 4 месяца назад
that video is a great resource to get the logic and have a quick implementation. thanks for your efforts and time.
@DeepakSah3.0
@DeepakSah3.0 21 день назад
Keeping coming. Great tutorial
@significantl192
@significantl192 5 месяцев назад
You are truly a life savior, amazing tutorial, thank you so much Ramesh
@soltanicialina2421
@soltanicialina2421 12 дней назад
perfect tutorial, thank u so much
@hieutranhuu1048
@hieutranhuu1048 5 месяцев назад
Thank you so much, I really needed content like this video
@elliottsteer7977
@elliottsteer7977 3 месяца назад
Thanks for this, well put together with clear explanations!
@Umata05
@Umata05 5 месяцев назад
Thank you so much!! The tutorial is really helpful!
@amrendra3165
@amrendra3165 6 месяцев назад
Please make voice at good level. Project is good and adding value. Thanks alot.
@girishtengli6799
@girishtengli6799 25 дней назад
Just Excellent 😀
@mohadjisymouhamed2929
@mohadjisymouhamed2929 Месяц назад
Merci Beaucoup !
@stepup6620
@stepup6620 7 месяцев назад
Always confused with Annotations 🤯
@ar772almahri5
@ar772almahri5 7 месяцев назад
Thanks so much for this explanation Excellent and clear
@usmankhatri8481
@usmankhatri8481 6 месяцев назад
Thank you sir!! I had a query -> why can't we directly use Employee (eliminating the use of DTOs)?
@HR-pz7ts
@HR-pz7ts 6 месяцев назад
I think it is used to teach us some kind of design pattern used for mapping objects.
@MaryamsadatMousavi-nr1zq
@MaryamsadatMousavi-nr1zq 2 месяца назад
Awesome 🤩 Thank you sooooo much❤
@tonial
@tonial 5 месяцев назад
Amazing video, thank you so much! It was so well explained! I was wondering, how could we optimized those classes/interfaces. I did make a generic Service and Repository, so it can be use for more than one Entity, is that correct? if so, is there other ways to optimaze? like other classes that could be generic? Sorry if its a dumb question, I'm new to this
@NarenkumarMoorthyVisalatchi
@NarenkumarMoorthyVisalatchi 3 месяца назад
Amazing tutorial you put together! Seriously, it was super insightful and really helped clear things up. Great job, and keep up the awesome work!. Bro you missed cover the exception, it is not working actually
@chandrasekharlingisetti3863
@chandrasekharlingisetti3863 7 месяцев назад
super bro do it more
@isaacgraper
@isaacgraper 3 месяца назад
thank you bro, you helped me alot!
@jackfresby3411
@jackfresby3411 4 месяца назад
Dear sir, do you have source code repo for this great tutorial?
@SalamQuadan
@SalamQuadan 4 месяца назад
very nice content, thnx
@tuanysantos4596
@tuanysantos4596 6 месяцев назад
Very well, thank you.
@muhammed_adnan8408
@muhammed_adnan8408 2 месяца назад
Thankue sir❤
@GunelBalayeva-u6p
@GunelBalayeva-u6p 4 месяца назад
Thank you so much😍😍😍
@harungumus766
@harungumus766 3 месяца назад
thanks
@geethanjaliv5911
@geethanjaliv5911 7 месяцев назад
Hi Sir can you teach full stack angular springboot sir And also how to deploy realtime project on aws s2.
@deepakantoj432
@deepakantoj432 7 месяцев назад
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
@ithsigma
@ithsigma 6 месяцев назад
thank you so much!
@royjose.
@royjose. 4 месяца назад
Getting the below error, what would be the cause? Factory method 'dataSource' threw exception with message: Failed to load driver class org.postgresql.Driver in either of HikariConfig class loader or Thread context classloader
@ArpitRathore-gd9dp
@ArpitRathore-gd9dp 7 месяцев назад
Can you pls make a video explaination of spring security for jpa authentication using security @configuration class...it is quite confusing...pls
@surabhisahu1231
@surabhisahu1231 15 дней назад
In my case Table is not creating , what is the solution?
@SudhanshuPandey-rt8hu
@SudhanshuPandey-rt8hu 13 дней назад
Mine is also not creating. Did you get any solution?
@307waseemtariq5
@307waseemtariq5 7 месяцев назад
please create a complete fullstack app with React JS and Spring boot security.
@deepakantoj432
@deepakantoj432 7 месяцев назад
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
@ahmadbelkadi2766
@ahmadbelkadi2766 6 месяцев назад
what about pagination and validation ?!
@chheanbrosna3121
@chheanbrosna3121 6 месяцев назад
Are you using Community or Ultimate of Intellij? Thanks
@JavaGuides
@JavaGuides 6 месяцев назад
Community free edition
@gabyyhshss
@gabyyhshss 6 месяцев назад
Where is the Design Database?Uml
@teasolves
@teasolves 6 месяцев назад
how can we reach the codes. thanks.
@stefanoclini5052
@stefanoclini5052 7 месяцев назад
Good morning, I created a similar project but the entities are not created in the postgresql database. can help me. Thanks!
@JavaGuides
@JavaGuides 7 месяцев назад
What is the issue? Can you check the console logs for any errors?
@stefanoclini5052
@stefanoclini5052 7 месяцев назад
No issue @@JavaGuides
@deepakantoj432
@deepakantoj432 7 месяцев назад
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
@JavaGuides
@JavaGuides 7 месяцев назад
@@deepakantoj432 install Lombok plugin if you are using eclipse sts ide
@deepakantoj432
@deepakantoj432 7 месяцев назад
@@JavaGuides No i'm using intellij only. i even added it to my dependecies while creating that spring initiaizr file
@sachinmisal4829
@sachinmisal4829 7 месяцев назад
I am having a question here is SimpleJpaRepository class is annotated with @Repository and @Transactional annotations but if we write our own methods in the repository interface, will this be applicable for those methods or not.
@JavaGuides
@JavaGuides 7 месяцев назад
The @Repository and @Transactional annotations on SimpleJpaRepository do apply to custom methods in your repository interface with the default settings. If you require custom transactional behavior, you will need to add the @Transactional annotation to your custom methods with the specific configuration you need.
@sachinmisal4829
@sachinmisal4829 7 месяцев назад
@@JavaGuides Thank you so much for quick response
@ΒασίληςΑγγελόπουλος-ρ6ι
!!!!please help!!!!!i have a problem when i create the EmployeeMapper and try to put the getId etc , it now recocnise the previus @getter command and o ahve error when put this getter , why ?
@Prudhvi-Insights
@Prudhvi-Insights 5 месяцев назад
same issue
@panduupadhya4640
@panduupadhya4640 2 месяца назад
try to install lombok jar file on your IDE
@deepakantoj432
@deepakantoj432 7 месяцев назад
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
@mohammedshasilkhan3771
@mohammedshasilkhan3771 7 месяцев назад
Yeah even I get that problem while using lombok. Instead, I would just generate the getters and setters manually in the source option to resolve this, so please try that. And Even I don't know why the lombok annotations are not working properly many times.
@rit_mos
@rit_mos 5 месяцев назад
You have to install and activate the lombok plugin on your IDE so that the annotations work.
@llamadrama169
@llamadrama169 3 месяца назад
@@rit_mos You're right, thank you!
@panduupadhya4640
@panduupadhya4640 2 месяца назад
try to install lombok jar file on your IDE
@yadav_deepakk
@yadav_deepakk 4 месяца назад
34:02 Runtime Exceptions
@DennisJeromeTan
@DennisJeromeTan 2 месяца назад
pls share git sourcode
@jigartailor3755
@jigartailor3755 7 месяцев назад
Hi. I am gettting below error after try to run POST request from postman, "createEmployee" java.lang.NullPointerException: Cannot invoke "com.test.ems.service.EmployeeService.createEmployee(com.test.ems.dto.EmployeeDto)" because "this.employeeService" is null Please help to resolve.
@vinodkumar-uh3eh
@vinodkumar-uh3eh 6 месяцев назад
how did you resolve this ?
@AGTheod
@AGTheod 3 месяца назад
@@vinodkumar-uh3eh See if you are missing the @AllArgsConstructor in the EmployeeController class - I forgot to add it and Spring wasn't able to pass the impl of the employee service
@rushikeshdhane7430
@rushikeshdhane7430 4 месяца назад
dear sir . i am rushikesh dhane from satara maharashtra .have done graduation in BE IT.i want your help regarding this project . plz kindly mention your email or whatsaap contact.its important.hope you will help!
Далее
Hibernate & JPA Tutorial - Crash Course
24:27
Просмотров 103 тыс.
НЕ БУДИТЕ КОТЯТ#cat
00:21
Просмотров 848 тыс.
Living life on the edge 😳 #wrc
00:17
Просмотров 6 млн
JDBC vs JPA: Pros and Cons
11:56
Просмотров 33 тыс.
Java Spring Boot 2.5 Years Interview Experience
37:27