#19 Spring Data JPA with JpaRepository

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 55

  • @lootster
    @lootster 3 місяці тому +3

    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

    • @gnanu3530
      @gnanu3530 Місяць тому

      Wrong user name or password [28000-224] 28000/28000 (Help)

    • @gnanu3530
      @gnanu3530 Місяць тому

      Wrong user name or password [28000-224] 28000/28000 (Help)

  • @gouthamrajesh2745
    @gouthamrajesh2745 3 місяці тому +9

    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.

  • @VaibhavVijayvargiya1994
    @VaibhavVijayvargiya1994 8 днів тому

    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.

  • @teamleadingstar9592
    @teamleadingstar9592 5 місяців тому

    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

  • @vmsiteducationalhub2204
    @vmsiteducationalhub2204 Місяць тому

    Informative and very useful for me as a beginner. Thank you so much Navin and team

  • @jairramirez6900
    @jairramirez6900 5 місяців тому

    This content is pure gold

  • @vedantzope8461
    @vedantzope8461 24 дні тому

    Crazzzy man
    how good it is

  • @pranaypaul6361
    @pranaypaul6361 5 місяців тому

    basics of spring data JPA boils down!!!

  • @user-cd8cg3yr1q
    @user-cd8cg3yr1q 5 місяців тому

    simply amazing , great video and great way of explaining things . Thanks

  • @Enderception
    @Enderception 4 дні тому

    I'm surprised this is so much simpler than Entity Framework

  • @naraynwetal6544
    @naraynwetal6544 4 місяці тому

    Learning Spring Boot is as enjoyable as diving into your favorite hobby.

  • @Devivl
    @Devivl 4 місяці тому

    Learning Spring Boot with mr. Navin Reddy is as enjoyable as diving into your favorite hobby 🤓

  • @cheguevara1396
    @cheguevara1396 3 місяці тому

    Good explaination sir,,like you say u dony teach but educate the aliens

  • @vw7183
    @vw7183 2 місяці тому +1

    For production, how should we hide the username and password for security.

  • @lokeshkumarkondeti4312
    @lokeshkumarkondeti4312 2 місяці тому

    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.

  • @uwihanganyeedison4804
    @uwihanganyeedison4804 5 місяців тому +1

    can u pleease give us video on how we configure swagger for ducumentation of our API

  • @vedantzope8461
    @vedantzope8461 24 дні тому

    Boom
    maza aa gya

  • @abishekmagar8790
    @abishekmagar8790 5 місяців тому

    Well Explained Sir

  • @naraynwetal6544
    @naraynwetal6544 4 місяці тому

    Enjoying series

  • @nukalarohit2089
    @nukalarohit2089 5 місяців тому

    Hello Sir, Could you explain transactional and propagation- isolation? At what cases or conditions each of them to be used

  • @rithanyaas8238
    @rithanyaas8238 Місяць тому

    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?

    • @gnanu3530
      @gnanu3530 Місяць тому

      Wrong user name or password [28000-224] 28000/28000 (Help)

    • @gnanu3530
      @gnanu3530 Місяць тому

      Wrong user name or password [28000-224] 28000/28000 (Help)

  • @yellareddy9533
    @yellareddy9533 5 місяців тому

    What if you want to pass two object like JpaRepository

  • @rahulbhatanagar6175
    @rahulbhatanagar6175 5 місяців тому

    Great work

  • @vishaldindalkop294
    @vishaldindalkop294 4 місяці тому

    Thank you for the video.

  • @lakshanchamod1208
    @lakshanchamod1208 5 днів тому

    Beautiful

  • @AjayKumar-go4jr
    @AjayKumar-go4jr 3 місяці тому

    Nice content!

  • @ansonak4034
    @ansonak4034 26 днів тому

    if i give id=0 in postman for delete opertion it is not product deleted .deleteById(id) method not work for id=0

  • @kanteganesh8431
    @kanteganesh8431 5 місяців тому

    cant able to extend JpaRepository

  • @Alcatraz-23
    @Alcatraz-23 5 місяців тому

    Brilliant!

  • @mils3318
    @mils3318 5 місяців тому +1

    Hey, where is the source code for all these videos?

  • @DevGhost97
    @DevGhost97 11 днів тому

    Thank you sir

  • @royalmech14
    @royalmech14 5 місяців тому +1

    Thanks

  • @smyansingh4552
    @smyansingh4552 3 місяці тому

    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?

    • @gnanu3530
      @gnanu3530 Місяць тому

      Wrong user name or password [28000-224] 28000/28000 (Help)

    • @Oluwaferanmi_Adeosun
      @Oluwaferanmi_Adeosun 16 днів тому

      I also encountered this problem. What i did to solve it was to annotate my id field variable with "@JsonProperty("id")" . And it worked

  • @null_user123
    @null_user123 5 місяців тому

    Hello. how can i open H2 from browser ?

    • @gnanu3530
      @gnanu3530 Місяць тому

      Wrong user name or password [28000-224] 28000/28000 (Help)

  • @tyrantbeast2829
    @tyrantbeast2829 5 місяців тому

    the data in the database is gone after restarting the application

  • @psudhakarreddy6548
    @psudhakarreddy6548 5 місяців тому

    Thank you

  • @naraynwetal6544
    @naraynwetal6544 4 місяці тому

    excellent

  • @vinayKumar-vq6gy
    @vinayKumar-vq6gy 5 місяців тому

    Awsome

  • @sergheicatarama4874
    @sergheicatarama4874 5 місяців тому

    Good

  • @theCHAD_666
    @theCHAD_666 5 місяців тому

    ❤❤❤❤❤❤

  • @sonalgupta791
    @sonalgupta791 4 місяці тому

    thank

  • @shaurya2608
    @shaurya2608 Місяць тому +1

    I dont think logic of updateProduct is correct.

  • @IgorTrono
    @IgorTrono 5 місяців тому +1

    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.

  • @JonahVincent-g7d
    @JonahVincent-g7d 2 місяці тому

    8106 Allen Station

    • @gnanu3530
      @gnanu3530 Місяць тому

      Wrong user name or password [28000-224] 28000/28000 (Help)