I like that you break up a big project into lots of short videos. This way the material is digested much better and it's easier to navigate through the lesson topic. Thank you. Great lessons from a genius teacher.
00:04 Creating method to return list of products 01:30 Creating service layer and annotation in Spring 02:57 Creating object of repository and extending JPA repository 04:25 Adding data in H2 database 05:50 Troubleshooting data loading issues in H2 database. 07:17 Using generated value annotation for autogeneration 08:54 H2 temporary database causes data loss on application restart. 10:22 Delay data source initialization in Spring using spring.jpa.defer-data-source-initialization
While practicing it I mistakenly typed String for the id and at first it executed well, later when we added the annotation to generate id automatically then it started giving error. At this time I didn't know why I am getting error, it took hell of time for me to find it 😅😅😅 then I was like 😑😑😁
Spring Boot, JPA, and Hibernate automatically convert camel case in your Java class to snake case in the database. So, releaseDate in your Product class becomes release_date in the database.
Iam able to see the data in H2 but not able to see in the browser and postman. It's showing {} for how many products data i have entered could anyone please Help and i'm using Eclipse
Bro, how many playlists do you have on java spring, every playlist on your channel says java, yet you are starting new series. Why repeat new series if one is already present in your channel?
H2 is so so convincible for any quick test purpose!! great explanation bit by bit!!
I agree. Testcontainers are also a great option for testing. If you haven't studied it before, I recommend it. Good luck, friend!
I like that you break up a big project into lots of short videos.
This way the material is digested much better and it's easier to navigate through the lesson topic.
Thank you. Great lessons from a genius teacher.
nice way of teaching things thank you sir
Very Good Explanation Thanks!
I've never used H2 before, tho it's cool to learn a new tool
insert into product (name, desc, brand, price, relese_Date, available, quantity) VALUES
('tata nexon', 'features and performance', 'TaTa Motors', 750000.99, '2024-01-15', true, 45),
('Renault Kwid', 'fuel efficiency and reliable', 'Renault Motors', 500000.00, '2018-02-01', false, 100);
Hello, Could you share queries that in explanation please❤
thank u
00:04 Creating method to return list of products
01:30 Creating service layer and annotation in Spring
02:57 Creating object of repository and extending JPA repository
04:25 Adding data in H2 database
05:50 Troubleshooting data loading issues in H2 database.
07:17 Using generated value annotation for autogeneration
08:54 H2 temporary database causes data loss on application restart.
10:22 Delay data source initialization in Spring using spring.jpa.defer-data-source-initialization
Waiting for next video of this series
Thanks sir, the course is very good
Looking forward to the next lessons!
I'm sure you can use H2 file format data base, with file database you will not losing data every run application
Waiting for next video...
Nice Content!
Excellent
waiting for the next video
While practicing it I mistakenly typed String for the id and at first it executed well, later when we added the annotation to generate id automatically then it started giving error. At this time I didn't know why I am getting error, it took hell of time for me to find it 😅😅😅 then I was like 😑😑😁
after completion of output in h2 console database , how did you get the browser exactly , i am not getting it
sir, how to connect mysql workbench and intellij database? I want to use MySQL instead of H2
Sir I connected using simple html css and js
why releaseDate is getting changed to release_date ?
Spring Boot, JPA, and Hibernate automatically convert camel case in your Java class to snake case in the database. So, releaseDate in your Product class becomes release_date in the database.
the lombok is not working i tried it with getters and setter it worked
.sql files are not supported in community edition
Pls how can i chat with you sir
Iam able to see the data in H2 but not able to see in the browser and postman. It's showing {} for how many products data i have entered could anyone please Help and i'm using Eclipse
I had the same problem so I decided not to use lombok: I generated constructor + getters & setters in Product class and now it works
@@iulia6579 Thank you so much 😊
In eclipse lombok is not working 😢
please configure your lombok properly.
and if it is configured properly, please share the error you are facing?
Bro, how many playlists do you have on java spring, every playlist on your channel says java, yet you are starting new series. Why repeat new series if one is already present in your channel?
Versions
First here❤
spring.jpa.defer-datasource-initialization=true uses this the errors has not gone it shows the same error please help
how to solve it
Any solution? :(
what is the error you are facing? could you please share the error?
@@maheshmahi9307 could you please share your application.properties code.
@@Gaurav-Telusko Got it !! May be just naming difference in the form of 'description' for 'desc' in repo file