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.
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
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.
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~
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)
Informative and very useful for me as a beginner. Thank you so much Navin and team
This content is pure gold
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
Crazzzy man
how good it is
simply amazing , great video and great way of explaining things . Thanks
For production, how should we hide the username and password for security.
basics of spring data JPA boils down!!!
Hello Sir, Could you explain transactional and propagation- isolation? At what cases or conditions each of them to be used
Learning Spring Boot is as enjoyable as diving into your favorite hobby.
can u pleease give us video on how we configure swagger for ducumentation of our API
Good explaination sir,,like you say u dony teach but educate the aliens
Learning Spring Boot with mr. Navin Reddy is as enjoyable as diving into your favorite hobby 🤓
💯
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.
Enjoying series
Well Explained Sir
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)
Brilliant!
What if you want to pass two object like JpaRepository
Boom
maza aa gya
Great work
Thank you for the video.
Thanks
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
Hey, where is the source code for all these videos?
Awsome
Thank you
cant able to extend JpaRepository
the data in the database is gone after restarting the application
excellent
Good
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)
thank
❤❤❤❤❤❤
Hello. how can i open H2 from browser ?
Wrong user name or password [28000-224] 28000/28000 (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.
I dont think logic of updateProduct is correct.
8106 Allen Station
Wrong user name or password [28000-224] 28000/28000 (Help)