Java, Spring Boot, PostgreSQL, Spring Data JPA, Hibernate CRUD REST API Tutorial [2025]

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 83

  • @HR-pz7ts
    @HR-pz7ts 10 місяців тому +9

    You taught me hibernate in just 30 mins thats all I needed thanks a lot!

  • @yilberagueropadilla5978
    @yilberagueropadilla5978 9 місяців тому +1

    Now, I understand much better, thanks for your video tutorial.

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

    Most tutorial I have been using are too slow, gernal, and I always ran into problems. This was the one of the only tutorial that really allowed me to get the project down and not run into problems because you showed everything in detail. I really appreciate the java, spring, hibernate, and postgres tutorials.

  • @harishsingh2451
    @harishsingh2451 11 місяців тому +3

    This video provides a clear and thorough explanation, making it easy to understand. It would be beneficial to include additional videos covering topics such as Spring Security, pagination, communicating with other APIs/endpoints, sessions, caching, and various real-time modules. These topics are essential for real-time project development and would greatly benefit viewers looking to delve deeper into practical applications. Thanks in advance.

    • @saketh.j2450
      @saketh.j2450 11 місяців тому

      What are the contents this video has taught you can u please elaborate it ?

    • @deepakantoj432
      @deepakantoj432 11 місяців тому

      After creating that mapper function i'm still getting this error
      Cannot resolve method 'getId' in 'Employee'
      but i've set all getter and setter anotations in those files

    • @deepakantoj432
      @deepakantoj432 11 місяців тому

      After creating that mapper function i'm still getting this error
      Cannot resolve method 'getId' in 'Employee'
      but i've set all getter and setter anotations in those files

  • @diegocb81
    @diegocb81 11 місяців тому +4

    Thank you very much to share your knowledge...keep rocking, best wishes!

    • @deepakantoj432
      @deepakantoj432 11 місяців тому

      After creating that mapper function i'm still getting this error
      Cannot resolve method 'getId' in 'Employee'
      but i've set all getter and setter anotations in those files

    • @JavaGuides
      @JavaGuides  10 місяців тому

      @@deepakantoj432 install Lombok plugin in your IDE

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

    Thanks man! I appriciate your clean and understandable content :)

  • @Carlos-gj1wj
    @Carlos-gj1wj 2 місяці тому

    Great video man thanks for sharing!

  • @ememdi
    @ememdi 7 місяців тому

    that video is a great resource to get the logic and have a quick implementation. thanks for your efforts and time.

  • @significantl192
    @significantl192 8 місяців тому

    You are truly a life savior, amazing tutorial, thank you so much Ramesh

  • @dridisalah5754
    @dridisalah5754 8 місяців тому

    Thank you for this video. I had an issue with using Spring Boot, and now the problem has been solved ❤❤

  • @elliottsteer7977
    @elliottsteer7977 7 місяців тому

    Thanks for this, well put together with clear explanations!

  • @hieutranhuu1048
    @hieutranhuu1048 8 місяців тому +1

    Thank you so much, I really needed content like this video

  • @Umata05
    @Umata05 8 місяців тому +1

    Thank you so much!! The tutorial is really helpful!

  • @DeepakSah3.0
    @DeepakSah3.0 4 місяці тому

    Keeping coming. Great tutorial

  • @ar772almahri5
    @ar772almahri5 11 місяців тому

    Thanks so much for this explanation Excellent and clear

  • @amrendra3165
    @amrendra3165 9 місяців тому +1

    Please make voice at good level. Project is good and adding value. Thanks alot.

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

    perfect tutorial, thank u so much

  • @MaryamsadatMousavi-nr1zq
    @MaryamsadatMousavi-nr1zq 6 місяців тому

    Awesome 🤩 Thank you sooooo much❤

  • @tuanysantos4596
    @tuanysantos4596 9 місяців тому

    Very well, thank you.

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

    Just Excellent 😀

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

    badhiya bhaya

  • @usmankhatri8481
    @usmankhatri8481 10 місяців тому +4

    Thank you sir!! I had a query ->
    why can't we directly use Employee (eliminating the use of DTOs)?

    • @HR-pz7ts
      @HR-pz7ts 10 місяців тому +3

      I think it is used to teach us some kind of design pattern used for mapping objects.

    • @govindaagrawal816
      @govindaagrawal816 20 днів тому

      It is not a good practice to expose your entity object to api endpoints directly. In this case we are using only internal apis that is why it might not matter that much but as soon as we introduce external apis or open our apis to be used by 3rd party directly then we need to use DTOs instead of entity directly

  • @NarenkumarMoorthyVisalatchi
    @NarenkumarMoorthyVisalatchi 7 місяців тому

    Amazing tutorial you put together! Seriously, it was super insightful and really helped clear things up. Great job, and keep up the awesome work!. Bro you missed cover the exception, it is not working actually

  • @GunelBalayeva-u6p
    @GunelBalayeva-u6p 7 місяців тому

    Thank you so much😍😍😍

  • @ithsigma
    @ithsigma 10 місяців тому

    thank you so much!

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

    Merci Beaucoup !

  • @SalamQuadan
    @SalamQuadan 8 місяців тому

    very nice content, thnx

  • @tonial
    @tonial 9 місяців тому +1

    Amazing video, thank you so much! It was so well explained!
    I was wondering, how could we optimized those classes/interfaces.
    I did make a generic Service and Repository, so it can be use for more than one Entity, is that correct? if so, is there other ways to optimaze? like other classes that could be generic?
    Sorry if its a dumb question, I'm new to this

  • @MohammedFaheem-v8f
    @MohammedFaheem-v8f Місяць тому

    Thanks

  • @chandrasekharlingisetti3863
    @chandrasekharlingisetti3863 11 місяців тому +1

    super bro do it more

  • @muhammed_adnan8408
    @muhammed_adnan8408 6 місяців тому

    Thankue sir❤

  • @royjose.
    @royjose. 7 місяців тому

    Getting the below error, what would be the cause?
    Factory method 'dataSource' threw exception with message: Failed to load driver class org.postgresql.Driver in either of HikariConfig class loader or Thread context classloader

  • @jackfresby3411
    @jackfresby3411 7 місяців тому +1

    Dear sir, do you have source code repo for this great tutorial?

  • @Manojkumar-ub9bw
    @Manojkumar-ub9bw 2 місяці тому

    Keep doing videos 😊

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

    Sir please can you make video on how to use custome query here in this project.

  • @harungumus766
    @harungumus766 6 місяців тому

    thanks

  • @yadav_deepakk
    @yadav_deepakk 8 місяців тому

    34:02 Runtime Exceptions

  • @deepakantoj432
    @deepakantoj432 11 місяців тому +1

    After creating that mapper function i'm still getting this error
    Cannot resolve method 'getId' in 'Employee'
    but i've set all getter and setter anotations in those files

    • @mohammedshasilkhan3771
      @mohammedshasilkhan3771 10 місяців тому

      Yeah even I get that problem while using lombok. Instead, I would just generate the getters and setters manually in the source option to resolve this, so please try that. And Even I don't know why the lombok annotations are not working properly many times.

    • @FEBOLE
      @FEBOLE 9 місяців тому +4

      You have to install and activate the lombok plugin on your IDE so that the annotations work.

    • @llamadrama169
      @llamadrama169 7 місяців тому

      @@FEBOLE You're right, thank you!

    • @panduupadhya4640
      @panduupadhya4640 6 місяців тому

      try to install lombok jar file on your IDE

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

    For some reason my database tables were not created when I ran the application

  • @chheanbrosna3121
    @chheanbrosna3121 10 місяців тому

    Are you using Community or Ultimate of Intellij? Thanks

    • @JavaGuides
      @JavaGuides  10 місяців тому

      Community free edition

  • @sachinmisal4829
    @sachinmisal4829 11 місяців тому

    I am having a question here is SimpleJpaRepository class is annotated with @Repository and @Transactional annotations but if we write our own methods in the repository interface, will this be applicable for those methods or not.

    • @JavaGuides
      @JavaGuides  11 місяців тому +2

      The @Repository and @Transactional annotations on SimpleJpaRepository do apply to custom methods in your repository interface with the default settings. If you require custom transactional behavior, you will need to add the @Transactional annotation to your custom methods with the specific configuration you need.

    • @sachinmisal4829
      @sachinmisal4829 11 місяців тому

      @@JavaGuides Thank you so much for quick response

  • @stepup6620
    @stepup6620 11 місяців тому +7

    Always confused with Annotations 🤯

  • @ArpitRathore-gd9dp
    @ArpitRathore-gd9dp 11 місяців тому

    Can you pls make a video explaination of spring security for jpa authentication using security @configuration class...it is quite confusing...pls

  • @geethanjaliv5911
    @geethanjaliv5911 11 місяців тому +1

    Hi Sir can you teach full stack angular springboot sir And also how to deploy realtime project on aws s2.

    • @deepakantoj432
      @deepakantoj432 11 місяців тому

      After creating that mapper function i'm still getting this error
      Cannot resolve method 'getId' in 'Employee'
      but i've set all getter and setter anotations in those files

  • @stefanoclini5052
    @stefanoclini5052 11 місяців тому

    Good morning, I created a similar project but the entities are not created in the postgresql database. can help me. Thanks!

    • @JavaGuides
      @JavaGuides  11 місяців тому

      What is the issue? Can you check the console logs for any errors?

    • @stefanoclini5052
      @stefanoclini5052 11 місяців тому

      No issue
      @@JavaGuides

    • @deepakantoj432
      @deepakantoj432 11 місяців тому

      After creating that mapper function i'm still getting this error
      Cannot resolve method 'getId' in 'Employee'
      but i've set all getter and setter anotations in those files

    • @JavaGuides
      @JavaGuides  11 місяців тому

      @@deepakantoj432 install Lombok plugin if you are using eclipse sts ide

    • @deepakantoj432
      @deepakantoj432 11 місяців тому

      @@JavaGuides No i'm using intellij only.
      i even added it to my dependecies while creating that spring initiaizr file

  • @ahmadbelkadi2766
    @ahmadbelkadi2766 9 місяців тому

    what about pagination and validation ?!

  • @ΒασίληςΑγγελόπουλος-ρ6ι

    !!!!please help!!!!!i have a problem when i create the EmployeeMapper and try to put the getId etc , it now recocnise the previus @getter command and o ahve error when put this getter , why ?

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

    In my case Table is not creating , what is the solution?

  • @teasolves
    @teasolves 9 місяців тому

    how can we reach the codes. thanks.

  • @Gabyy_Intenta
    @Gabyy_Intenta 9 місяців тому

    Where is the Design Database?Uml

  • @7.waseem
    @7.waseem 11 місяців тому

    please create a complete fullstack app with React JS and Spring boot security.

    • @deepakantoj432
      @deepakantoj432 11 місяців тому

      After creating that mapper function i'm still getting this error
      Cannot resolve method 'getId' in 'Employee'
      but i've set all getter and setter anotations in those files

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

    pls share git sourcode

  • @jigartailor3755
    @jigartailor3755 10 місяців тому +3

    Hi. I am gettting below error after try to run POST request from postman, "createEmployee"
    java.lang.NullPointerException: Cannot invoke "com.test.ems.service.EmployeeService.createEmployee(com.test.ems.dto.EmployeeDto)" because "this.employeeService" is null
    Please help to resolve.

    • @vinodkumar-uh3eh
      @vinodkumar-uh3eh 10 місяців тому

      how did you resolve this ?

    • @AGTheod
      @AGTheod 7 місяців тому +1

      @@vinodkumar-uh3eh See if you are missing the @AllArgsConstructor in the EmployeeController class - I forgot to add it and Spring wasn't able to pass the impl of the employee service

  • @rushikeshdhane7430
    @rushikeshdhane7430 8 місяців тому

    dear sir . i am rushikesh dhane from satara maharashtra .have done graduation in BE IT.i want your help regarding this project . plz kindly mention your email or whatsaap contact.its important.hope you will help!