00:04 Creating repository layer for data access 01:29 Interface for defining methods with JpaRepository in Spring Data JPA. 02:46 Using JpaRepository methods in Spring Data JPA 04:06 JpaRepository extends Repository with additional methods. 05:29 Spring Data JPA uses save method for both saving and updating data 06:53 Every table needs a primary key, mention it as ID for entity identification 08:23 Spring Data JPA generates SQL queries behind the scenes 09:50 Demonstration of querying and configuring H2 database in Spring Data JPA
If tables are not creating automatically in postgres or anyother db. Without configuring spring.jpa.hibernate.ddl-auto=update,Hibernate will not automatically handle the creation or updating of database tables based on your entity classes. In the case of H2, the tables are created automatically due to Spring Boot's embedded database-friendly defaults. However, with PostgreSQL, you need to be more explicit in configuring how the schema should be managed to avoid unintended consequences in a production environment.
This playlist is very good... you are explaining the things in very good example and it's more understanding for me. playlist is going very intresting. looking ahead for more videos
Are we gonna get the details of queries in the console only when we executed them with Postman? Because currently I don't have a postman and I am executing queries from the H2 console but I couldn't see the log in console/terminal.
Hello sir, this video is great! I have a question: In Postman, we're sending data using POST, and I can see it in the H2 console. However, when we reload the server, the data disappears, and we have to enter it again each time. Is there a way to store it permanently?
My server is not taking the value of the primary key i.e. prodId. No matter what value I put it always shows up as zero which prevents me from adding more entries. Can anyone help?
The information on adding JPA and embedded H2 to Maven is missing. The configuration of H2 in application.properties is missing. How Springboot creates the table "PRODUCT" in H2 from Hibernate is missing. The previous lectures have been great but this one is not good.
00:04 Creating repository layer for data access
01:29 Interface for defining methods with JpaRepository in Spring Data JPA.
02:46 Using JpaRepository methods in Spring Data JPA
04:06 JpaRepository extends Repository with additional methods.
05:29 Spring Data JPA uses save method for both saving and updating data
06:53 Every table needs a primary key, mention it as ID for entity identification
08:23 Spring Data JPA generates SQL queries behind the scenes
09:50 Demonstration of querying and configuring H2 database in Spring Data JPA
Wrong user name or password [28000-224] 28000/28000 (Help)
Wrong user name or password [28000-224] 28000/28000 (Help)
If tables are not creating automatically in postgres or anyother db.
Without configuring spring.jpa.hibernate.ddl-auto=update,Hibernate will not automatically handle the creation or updating of database tables based on your entity classes.
In the case of H2, the tables are created automatically due to Spring Boot's embedded database-friendly defaults. However, with PostgreSQL, you need to be more explicit in configuring how the schema should be managed to avoid unintended consequences in a production environment.
Thanks~
You have explained the entire spring data JPA like it is nothing, explained in way too simpler words.
Thank you so much. it will help me for sure.
This playlist is very good... you are explaining the things in very good example and it's more understanding for me. playlist is going very intresting. looking ahead for more videos
Informative and very useful for me as a beginner. Thank you so much Navin and team
This content is pure gold
Crazzzy man
how good it is
basics of spring data JPA boils down!!!
simply amazing , great video and great way of explaining things . Thanks
I'm surprised this is so much simpler than Entity Framework
Learning Spring Boot is as enjoyable as diving into your favorite hobby.
Learning Spring Boot with mr. Navin Reddy is as enjoyable as diving into your favorite hobby 🤓
💯
Good explaination sir,,like you say u dony teach but educate the aliens
For production, how should we hide the username and password for security.
Are we gonna get the details of queries in the console only when we executed them with Postman? Because currently I don't have a postman and I am executing queries from the H2 console but I couldn't see the log in console/terminal.
can u pleease give us video on how we configure swagger for ducumentation of our API
Boom
maza aa gya
Well Explained Sir
Enjoying series
Hello Sir, Could you explain transactional and propagation- isolation? At what cases or conditions each of them to be used
Hello sir, this video is great! I have a question: In Postman, we're sending data using POST, and I can see it in the H2 console. However, when we reload the server, the data disappears, and we have to enter it again each time. Is there a way to store it permanently?
Wrong user name or password [28000-224] 28000/28000 (Help)
Wrong user name or password [28000-224] 28000/28000 (Help)
What if you want to pass two object like JpaRepository
Great work
Thank you for the video.
Beautiful
Nice content!
if i give id=0 in postman for delete opertion it is not product deleted .deleteById(id) method not work for id=0
cant able to extend JpaRepository
Brilliant!
Hey, where is the source code for all these videos?
Thank you sir
Thanks
My server is not taking the value of the primary key i.e. prodId. No matter what value I put it always shows up as zero which prevents me from adding more entries. Can anyone help?
Wrong user name or password [28000-224] 28000/28000 (Help)
I also encountered this problem. What i did to solve it was to annotate my id field variable with "@JsonProperty("id")" . And it worked
Hello. how can i open H2 from browser ?
Wrong user name or password [28000-224] 28000/28000 (Help)
the data in the database is gone after restarting the application
Thank you
excellent
Awsome
Good
❤❤❤❤❤❤
thank
I dont think logic of updateProduct is correct.
The information on adding JPA and embedded H2 to Maven is missing. The configuration of H2 in application.properties is missing. How Springboot creates the table "PRODUCT" in H2 from Hibernate is missing. The previous lectures have been great but this one is not good.
8106 Allen Station
Wrong user name or password [28000-224] 28000/28000 (Help)