Spring Boot & Spring Data JPA - Complete Course
Вставка
- Опубліковано 4 жов 2024
- Buy me a coffee: ko-fi.com/boua...
🌟 Dive into the world of Spring Boot & Spring Data JPA with our latest course! 🚀 Immerse yourself in 13 hours of meticulously crafted content, meticulously prepared with passion and care. 🤓
CONNECT WITH ME:
👨💻. Website: aliboucoding.com
📸 Instagram: / alibou_coding
🎮 GitHub: github.com/ali...
🏘️ Discord: / discord
Recommended Courses:
🎬 Spring Boot security & JWT token: • Spring boot 3.0 - Secu...
🎬 Spring security - Roles and permissions: • Spring boot 3 & Spring...
🎬 Spring Boot - Microservices architecture: • Microservices tutorial...
🎬 DevOps - Github Actions CI/CD: • GitHub Actions CI/CD p...
🎬 Spring Security - KeyCloak integration: • Spring boot 3 Keycloak...
🎬 DevOps - Docker for Beginners: • Docker tutorial for be...
🎬 Angular - Full course from scratch: • Angular Tutorial For B...
🎬 Websocket - Chat application one to one: • WebSocket Tutorial wit...
🎬 Spring Security - Two Factors Authentication 2FA (TFA): • Two Factor Authenticat...
🎬 Spring Boot - Swagger UI & OpenApi Decomentation : • Spring boot 3 - OpenAp...
🎬 Spring Boot - Reactive programming & WebFlux: • Reactive Programming w...
🎬 Spring Data JPA & Hibernate: • Spring Data JPA - The ...
🎬 Apache Kafka tutorial: • Apache Kafka Tutorial ...
🎬 Spring batch tutorial: • Spring batch
🎬 Spring Boot tutorial: • The ULTIMATE Spring Bo...
🎬 Apache Kafka tutorial: • Apache Kafka Tutorial ...
🎬 Ultimate Spring boot tutorial: • The ULTIMATE Spring Bo...
🎬 Ultimate Spring Data JPA tutorial: • The ULTIMATE Guide for...
#springboot #springdatajpa
Table of content:
Spring Boot
00:00:32 Intro
00:00:34 Spring core
00:01:04 Spring boot
00:01:07 Spring boot in Action
00:01:28 Spring beans in action
01:11:13 Dependency Inject (DI)
01:28:56 Spring Special Beans
01:42:05 Spring profiles
01:57:11 Spring REST
02:16:31 Spring REST in Action
03:20:08 Spring Data JPA
04:48:18 DTO Pattern
05:22:43 Service Layer
05:55:07 Spring Data Validation
06:22:55 Testing Overview
06:29:08 Spring test in Action
07:02:51 Test Isolation with Mockito
07:33:44 Outro
07:34:31 Intro
07:36:11 Setup postgres DB (Docker)
07:41:16 Setup MySQL DB (Docker)
07:43:43 Create a new spring boot project
07:46:32 Setup the DB and create a schema (Postgres)
07:51:54 Setup the DB and create a schema (MySQL)
07:53:47 Connect the application to the database (Postgres)
08:03:08 Connect the application to the database (MySQL)
08:09:01 The project we will build
08:14:54 Hibernate VS Spring data jpa
08:18:10 Create the first java class
08:24:27 Transform the Java class to an Entity
08:27:26 @Id annotation
08:31:50 @GeneratedValue annotation
08:37:10 Strategy: Auto
08:43:38 @SequenceGenerator annotation
08:49:20 @TableGenerator annotation
08:53:51 @Column annotation overview
08:58:05 Usage of @Colum annotation
09:05:26 @Table annotation
09:09:18 Repository overview
09:12:47 Depp understanding of repositories
09:17:54 Discover the repositories as code
09:20:43 Create the first repository
09:23:45 Create a command line runner bean
09:26:10 Insert some data into the DB
09:31:11 Entity lifecycle
09:39:39 Why creating relationships between entities
09:43:00 The difference between unidirectional and bidirectional relationship
09:46:38 Create the course entity
09:48:47 Create the section entity
09:49:37 Create the lecture entity
09:50:16 Create the resource entity
09:51:30 @ManyToMany relationship
10:00:09 @ManyToOne relationship
10:05:17 One to many between section and lecture
10:07:38 @OneToOne relationship
10:12:19 Check if your code is correct
10:14:54 JPA Inheritance overview
10:18:00 Inheritance over composition
10:20:35 @MappedSuperClass
10:33:20 Create the child classes
10:36:37 Single table strategy
10:43:11 Single table discriminator value
10:37:03 Test single table strategy
10:51:11 Joined table strategy
10:59:23 Table per class strategy
11:04:31 Polymorphic queries
11:07:41 Embedded entities overview
11:12:01 Create embedded id class
11:15:02 Use the embedded ID
11:19:46 Test the embedded ID
11:26:47 Create an embeddable Address class
11:30:16 @Embaddable annotation
11:33:05 Derived queries explained
11:41:21 FindAllBy explained
11:47:07 Playing with findBy method
11:55:13 Add Java faker dependency
11:57:24 Insert fake data
12:03:05 Exercise
12:03:47 Exercise - Solution - Update a field
12:09:10 Update data with @Modifiying
12:15:26 @NamedQueries definition
12:18:01 Select data with named query
12:22:52 Update data with named queries
12:27:07 Specification overview
12:29:36 Extend the repository
12:30:13 Building the specification
12:34:52 Execute the specification
Theory
----
00:00 Intro
03:15 What is spring framework?
04:02 Core features
06:04 What is spring bean?
12:54 Beans (dependency) injection
32:29 Spring initializr
34:20 Spring boot
Coding
----
35:57 Start new spring boot project
56:37 Beans
1:28:46 Enviornment beans
1:41:53 Spring profiles
1:57:00 RESTful
3:20:48 Postgresql
3:41:04 Entity, service, repository
5:54:55 Data validation
6:22:43 Testing
7:33:35 JPA
i dont know why people dont have patience these days, this guy has put so much effort and explained things in a very easy way for free but people still want something quick
strange!
this is far more better then any other video available in youtube or paid classes,just incredible.
Thank you Bouali l'm almost mastering spring boot framework by your content. I really appreciate your job and every single detail is explained so understanding way. God Bless you, your job and your family. Thank you once again. Greeding from Armenia 🇦🇲 ❤
hey bro, should i watch this master video without have a prior knowledge of Spring Core?
@@HaseebSajid-pv9rq before this you should have solid understanding of core java and spring then come back and learn this stuff
Everything is slowly and clearly explained thank you very much for your effort
and your time for this great course
You are most welcome
If you get stuck in the beginning because you get the following:
Parameter 0 of constructor in MyFirstClass required a bean of type 'java.lang.String' that could not be found.
That is because you have to remove the @Component annotation from the MyFirstClass.java file.
Other then that, so far i like the tutorial!
thanks for sharing
Thank you so much for proving such an extensive tutorial on Spring Boot
This is a fantastic video that I've never seen before. I love everything about it
Morning Mr Ali, The Complete course on Spring Security please
Fantastic Video!! watched the entire tutorial and i loved everything about it.
Wish you make a dedicated tutorial on Java 8 and spring boot industry practices like having DTO and POJO classes , folder structure ,best coding practices with a good project. Now every company has this differently, but hey , a common ground would be helpful
Thank You once again.
thanks for this amazing course
Thanks a lot for all your videos. You are an inspiration. Can you please develop the table of content section, it facilates the navigation to focus on and rewatch some modules.
Done
Thnaks for great tutorial. I think such a complex review of spring JPA are missing on this platform.
Glad it was helpful!
Requesting for a Comprehensive Tutorial on Spring Security...
Yeah buddy, we are all waiting.
Next week
Please soon...
@@BoualiAlihave you released it yet? I can’t seem to find anything
@@thesarfo1 check the latest 2 videos in my channel
Spring Boot
00:00:32 Intro
00:00:34 Spring core
00:01:04 Spring boot
00:01:07 Spring boot in Action
00:01:28 Spring beans in action
01:11:13 Dependency Inject (DI)
01:28:56 Spring Special Beans
01:42:05 Spring profiles
01:57:11 Spring REST
02:16:31 Spring REST in Action
03:20:08 Spring Data JPA
04:48:18 DTO Pattern
05:22:43 Service Layer
05:55:07 Spring Data Validation
06:22:55 Testing Overview
06:29:08 Spring test in Action
07:02:51 Test Isolation with Mockito
07:33:44 Outro
Spring JPA
07:34:31 Intro
07:36:11 Setup postgres DB (Docker)
07:41:16 Setup MySQL DB (Docker)
07:43:43 Create a new spring boot project
07:46:32 Setup the DB and create a schema (Postgres)
07:51:54 Setup the DB and create a schema (MySQL)
07:53:47 Connect the application to the database (Postgres)
08:03:08 Connect the application to the database (MySQL)
08:09:01 The project we will build
08:14:54 Hibernate VS Spring data jpa
08:18:10 Create the first java class
08:24:27 Transform the Java class to an Entity
08:27:26 @Id annotation
08:31:50 @GeneratedValue annotation
08:37:10 Strategy: Auto
08:43:38 @SequenceGenerator annotation
08:49:20 @TableGenerator annotation
08:53:51 @Column annotation overview
08:58:05 Usage of @Colum annotation
09:05:26 @Table annotation
09:09:18 Repository overview
09:12:47 Depp understanding of repositories
09:17:54 Discover the repositories as code
09:20:43 Create the first repository
09:23:45 Create a command line runner bean
09:26:10 Insert some data into the DB
09:31:11 Entity lifecycle
09:39:39 Why creating relationships between entities
09:43:00 The difference between unidirectional and bidirectional relationship
09:46:38 Create the course entity
09:48:47 Create the section entity
09:49:37 Create the lecture entity
09:50:16 Create the resource entity
09:51:30 @ManyToMany relationship
10:00:09 @ManyToOne relationship
10:05:17 One to many between section and lecture
10:07:38 @OneToOne relationship
10:12:19 Check if your code is correct
10:14:54 JPA Inheritance overview
10:18:00 Inheritance over composition
10:20:35 @MappedSuperClass
10:33:20 Create the child classes
10:36:37 Single table strategy
10:43:11 Single table discriminator value
10:37:03 Test single table strategy
10:51:11 Joined table strategy
10:59:23 Table per class strategy
11:04:31 Polymorphic queries
11:07:41 Embedded entities overview
11:12:01 Create embedded id class
11:15:02 Use the embedded ID
11:19:46 Test the embedded ID
11:26:47 Create an embeddable Address class
11:30:16 @Embaddable annotation
11:33:05 Derived queries explained
11:41:21 FindAllBy explained
11:47:07 Playing with findBy method
11:55:13 Add Java faker dependency
11:57:24 Insert fake data
12:03:05 Exercise
12:03:47 Exercise - Solution - Update a field
12:09:10 Update data with @Modifiying
12:15:26 @MamedQueries definition
12:18:01 Select data with named query
12:22:52 Update data with named queries
12:27:07 Specification overview
12:29:36 Extend the repository
12:30:13 Building the specification
12:34:52 Execute the specification
Thanks a lot for this course! waiting videos about advanced spring security topic
soon
merci encore pour ton tutoriel, je suis développeur java, et je m'aime visionner des nouvelles vidéos pour se mettre a jour,
Glad you liked it!
Thank!!! You, Master........what a content...thank u very much:)
Hi Bouali, would you consider adding GraphQL as opposed to REST in your Spring Boot tutorials/courses? That's the only thing missing for, other than that, your videos are one of the best in YT.
Yes soon I will
Spring Security from you Ali Bouali will be really great, we are waiting you 👀
soon
@Bean @Qualifier("bean1") is not the best way to override the default Bean name, while @Bean(name="bean1") is the way. You should be always using @Bean(name="bean1") if you want to qualify its name somewhere else, and using @Qualifier("bean1") for name qualifying when injecting it. This is the right way to do it, not mix @Bean and @Qualifier up in Bean declaration. Let me know if anyone has different opinions.
Might need to get popcorns on an s3 bucket
Thank you mister Ali we appreciate🙏
Great explanation sir and your details about real world problems is awesome...helped a lot in understanding... intricate details in software development 🙌🙏
You are most welcome
hey bro, should i watch this master video without have a prior knowledge of Spring Core?
@@HaseebSajid-pv9rq you should have knowledge of spring and spring boot to understand it in deep
God bless you. thanks
my pleasure
Please update your SpringSecurity course ! (especially with the deprecations around SecurityFilterChain and changes around it)
already done. check it out
Thank you so much for this course Mr Ali
I have a question about why isnt there any LazyInitializationException when List of School is returned from findAll method of schoolController
after this course what is need to watch as next, @BoualiAli can you give the playlist in orderwise to mastering the springboot completely?
watch the book social network playlist
thanks for the course.
My pleasure!
Thank you mister Ali,
We are waiting for complete tutorial about Stripe payment (only rest, the preference is to generate link from backend, no sensitive data sent from the frontend) 🥺
Yes, soon
I have heard that it is difficult to get job as a java developer if you are fresher is this true ?
Thanks 🙏🙏can you make microservice with springboot
Yes, soon
Man you are really great 👍🏻
This is Spring boot and JPA courses joined together?
yes
Please make video about deployment
WIP
Hi, I miss how you teach @Value u jump it over. You show it first time on 1:34:04, but you not explain it before or earlier.
Ali , you are the best
If I use flyway, do I also have to use colum uniqu in my student entity or how does it work with flayway so that they don't get in each other's way?
does this course require any other prerequisites other oop?
just if you are aware of basic java,its all okay he taught everything slowly and meticulously.
Pls make videos related to spring security, the format just keeps on changing and changing, and its very difficult to follow
already done. check it out
i have the community edition i have to put this in run config in the environment variables -> spring.profiles.active=dev , because i don't have the field active profiles 1:45:27
What is the prerequisite to taking this course ?
Java core
you should to know programming
pls add time stamps as well
done
@@BoualiAli not done yet mate please do it will be a great help
and pls make tutorial on Spring Security on latest version
already done. check it out
Prerequisites
I am looking for the timestamps
done
any one please replay any prerequesties other than Java
how u get autocompletion at 3:33:29
can anyone tell me where is this course's git hub repository?
github.com/ali-bouali/spring-data-jpa-pro-class
Thank you sir for providing us such as beautiful classes......can u please guide me how can i download pdf note of this class
unfortunately no PDF is available
tuto java ❤
10.23
+
WTF 12 hours!
yes
Timestamps please @@BoualiAli
you could have explained that in 1 hour.
Is it wrong that he didn't do it in an hour?
ok bb
what is the difference between @PropertySource("classpath:custom.properties") and @PropertySource("custom.properties")? Because that also works@PropertySource("custom.properties") ! 1:35:55 do you get some problems?
Hi Sir, i just registered for your channel. I am having few questions on BookSocialNetwork and request your help please.. i am using mySQL database running locally and there is no issue with the connection but encountering few errors...Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'jwtFilter' defined in file [/Users/Srikar/Desktop/Product/IAM/jwt/build/classes/java/main/com/srikar/security/jwt/security/JwtFilter.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'userDetailsServiceImpl' defined in file [/Users/Srikar/Desktop/Product/IAM/jwt/build/classes/java/main/com/srikar/security/jwt/security/UserDetailsServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'userRepository' defined in com.srikar.security.jwt.user.UserRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Cannot resolve reference to bean 'jpaSharedEM_entityManagerFactory' while setting bean property 'entityManager'
Please send me an email with the details and I will try to unlock you
Spring Boot
00:00:32 Intro
00:00:34 Spring core
00:01:04 Spring boot
00:01:07 Spring boot in Action
00:01:28 Spring beans in action
01:11:13 Dependency Inject (DI)
01:28:56 Spring Special Beans
01:42:05 Spring profiles
01:57:11 Spring REST
02:16:31 Spring REST in Action
03:20:08 Spring Data JPA
04:48:18 DTO Pattern
05:22:43 Service Layer
05:55:07 Spring Data Validation
06:22:55 Testing Overview
06:29:08 Spring test in Action
07:02:51 Test Isolation with Mockito
07:33:44 Outro
Spring JPA
07:34:31 Intro
07:36:11 Setup postgres DB (Docker)
07:41:16 Setup MySQL DB (Docker)
07:43:43 Create a new spring boot project
07:46:32 Setup the DB and create a schema (Postgres)
07:51:54 Setup the DB and create a schema (MySQL)
07:53:47 Connect the application to the database (Postgres)
08:03:08 Connect the application to the database (MySQL)
08:09:01 The project we will build
08:14:54 Hibernate VS Spring data jpa
08:18:10 Create the first java class
08:24:27 Transform the Java class to an Entity
08:27:26 @Id annotation
08:31:50 @GeneratedValue annotation
08:37:10 Strategy: Auto
08:43:38 @SequenceGenerator annotation
08:49:20 @TableGenerator annotation
08:53:51 @Column annotation overview
08:58:05 Usage of @Colum annotation
09:05:26 @Table annotation
09:09:18 Repository overview
09:12:47 Depp understanding of repositories
09:17:54 Discover the repositories as code
09:20:43 Create the first repository
09:23:45 Create a command line runner bean
09:26:10 Insert some data into the DB
09:31:11 Entity lifecycle
09:39:39 Why creating relationships between entities
09:43:00 The difference between unidirectional and bidirectional relationship
09:46:38 Create the course entity
09:48:47 Create the section entity
09:49:37 Create the lecture entity
09:50:16 Create the resource entity
09:51:30 @ManyToMany relationship
10:00:09 @ManyToOne relationship
10:05:17 One to many between section and lecture
10:07:38 @OneToOne relationship
10:12:19 Check if your code is correct
10:14:54 JPA Inheritance overview
10:18:00 Inheritance over composition
10:20:35 @MappedSuperClass
10:33:20 Create the child classes
10:36:37 Single table strategy
10:43:11 Single table discriminator value
10:37:03 Test single table strategy
10:51:11 Joined table strategy
10:59:23 Table per class strategy
11:04:31 Polymorphic queries
11:07:41 Embedded entities overview
11:12:01 Create embedded id class
11:15:02 Use the embedded ID
11:19:46 Test the embedded ID
11:26:47 Create an embeddable Address class
11:30:16 @Embaddable annotation
11:33:05 Derived queries explained
11:41:21 FindAllBy explained
11:47:07 Playing with findBy method
11:55:13 Add Java faker dependency
11:57:24 Insert fake data
12:03:05 Exercise
12:03:47 Exercise - Solution - Update a field
12:09:10 Update data with @Modifiying
12:15:26 @MamedQueries definition
12:18:01 Select data with named query
12:22:52 Update data with named queries
12:27:07 Specification overview
12:29:36 Extend the repository
12:30:13 Building the specification
12:34:52 Execute the specification
Thank you for this. Added to the description
@@BoualiAli please integrate it with timestamps if possible !!! Thanks for the video it is amazing .