What is JPA? | JPA Implementation

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

КОМЕНТАРІ • 289

  • @syedmahmood7454
    @syedmahmood7454 2 роки тому +39

    We need teachers like him in every tech class. No BS, pure knowledge.

  • @Pvbp27
    @Pvbp27 5 років тому +59

    Seriously you are not from Earth. You are really an Alien. Wonderful series. Got a lot of knowledge on Hibernate.

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

      yes good teaching.
      .but very old video.iam watching in 2024

  • @TonyBlundetto86
    @TonyBlundetto86 5 років тому +32

    Welcome back aliens! I am now working as a developer, it is my first job, and i am so excited.So good to see that after all the tutorials from your channel I've watched, when I need more info about practical things that I am learning when working in a real project, Telusko is there again to teach me some basic and not-so-basic stuff. Telusko you are the greatest!

  • @j-farmer8619
    @j-farmer8619 4 роки тому +9

    All I need is Black Coffee and Telusko....Learning is so possible and happening...
    Thanks a lot Navin Sir.... Much respect.

  • @thiyakarasanrk8744
    @thiyakarasanrk8744 5 років тому +4

    I was always having a confusion whether am using JPA or Hibernate. But now am clear.. Thank you Sir..

  • @Lallushe
    @Lallushe 4 роки тому +1

    You are probably the best teacher in youtube for programming

  • @urimahmetaj238
    @urimahmetaj238 6 років тому +18

    yeah man , you explain everything with a simple logic

  • @trynew7759
    @trynew7759 7 років тому +34

    Excellent Teaching sir
    I am very Big fan of YOU .
    I watched all the video and got Idea about hibernate and ORM...
    Thank you sir..

  • @backclover9651
    @backclover9651 Рік тому +1

    00:03 JPA stands for Java Persistence API.
    02:05 ORM is a concept of object-relational mapping used to save objects in database tables.
    06:01 Creating a new Maven project in Eclipse
    07:59 Create a class to fetch and store data.
    12:36 Implementing Hibernate with dependencies
    14:47 Implement entity manager using entity manager factory
    19:08 Different settings and behaviors are possible for different applications or times.
    21:07 You can save values in a database using transactions
    25:05 Understand the power of the overlap tool

  • @BoogieBash
    @BoogieBash 4 роки тому +4

    gone through core java,jsp servlet,rest web service & now finished Hibernate.. I can ping you personally to say thanks,but now i think you deserve a public applause for the hard work you provide us for free..👏👏👏👏👏👏👏👏
    Thank you so much brother 👽

  • @afifkhaja
    @afifkhaja 5 років тому +1

    I am running into trouble around the 20:00 mark when trying to access mysql through java using the persistence.xml file. Even after adding the @Entity and @Id keywords in my Alien.java class, when I run App.java to fetch data from mysql, I receive the following error:
    *Source not found for javax.xml.bind.JAXBException*
    I am using jdk 12 with Eclipse 03-2019. I wonder if anyone knows the solution to this problem. Thanks!

  • @mykytachelombitko9275
    @mykytachelombitko9275 4 роки тому

    Best indian Java tutorials ever made and seen.

  • @tkayfrmda2
    @tkayfrmda2 4 роки тому

    You're the best tech teacher i have ever seen

  • @dineshdixit8206
    @dineshdixit8206 2 роки тому

    I was looking for the right JPA tutorial and look I am landed on the right one. Thank you, sir.

  • @foodlover3128
    @foodlover3128 5 років тому +2

    you do know well how to teach beginners like us .
    you r the best keep doing sir.

  • @ALhajrasAlgdiry
    @ALhajrasAlgdiry 2 роки тому

    I like that you explain the issue before explaining the solution.

  • @divyamahesh9032
    @divyamahesh9032 2 роки тому

    Sir I'm able to clear all my doubts, by watching Hibernate video and this video
    And got the clarity how to use and why to use... Thanks a lot sir..

  • @NaughtyGooseGaming
    @NaughtyGooseGaming 3 роки тому

    Where did you get the block of persistence code at 19:03. That came out of no where??

  • @dkrgaming1129
    @dkrgaming1129 2 роки тому

    Hi when I try to add hibernate dependencies and mysql it's not downloading the libraries required and shows some error that maven could not download repositories at (14:48).

  • @shubhamyadav388
    @shubhamyadav388 4 роки тому +1

    I love this guy. What a beautiful way of explaining things.

  • @akshayverma6216
    @akshayverma6216 4 роки тому +1

    thank you on the complete hibernate series. I was able to complete it and get good knowledge on Hibernate.

  • @MustafaKHAN-sw1xb
    @MustafaKHAN-sw1xb 7 років тому +6

    you are so good teacher and also online tutor

  • @misakyanzye4269
    @misakyanzye4269 4 роки тому +7

    Hey Navi, you are a master!, I took this tutorial seriously and I must say I learn a lot. Thank you for your great explanations, now I know kotlin + hibernate . I am going for a third tutorial :)

  • @venkatreddy6718
    @venkatreddy6718 3 роки тому

    Mannnnnn... seriously... we don't need to understand about Hibernate/iBatis. Just learn Spring JPA. That's enough.. Thanks much Naveen. You are simply superb. :)

  • @VishalTheK
    @VishalTheK 3 роки тому

    Unique way of presenting new concepts. The Master Classes.

  • @rahul-java-dev
    @rahul-java-dev 3 роки тому +1

    Awesome Sir Ji, I was always in confusion regarding Hibernate and JPA & Specification and Implementation.
    This video helped me alot 🙏🙏

  • @semilife
    @semilife Рік тому

    Thanks Navin for the quick JPA overview.

  • @jagdishrohit3748
    @jagdishrohit3748 4 роки тому

    Thank you very much for providing this type of video so any java developer can easily learn and implement within very sort time.

  • @aswinkumar3837
    @aswinkumar3837 4 роки тому +2

    Thanks man I will always remember you and your way of explaining about all these stuffs are awesome keep teaching us , now I have a good knowledge on JPA !

  • @huleshchandra7713
    @huleshchandra7713 6 років тому

    this is the best video I have seen so far for JPA, very nice explanation

  • @tonystark000
    @tonystark000 3 роки тому

    The Best & easy video .... seriously, easily understand JPA😍

  • @amitasn1
    @amitasn1 2 роки тому

    Thanks Navin for the short & the informative video on JPA. Keep up the good work

  • @kiran815
    @kiran815 5 років тому +1

    Bhayya kummesaru..your videos giving lot of info

  • @TubeBazzDaBazz
    @TubeBazzDaBazz 5 років тому

    Haven't worked with JPA for about a year or 2 and I always feel bad just copy pasting my earlier code without properly understanding every required step. This gave me a good mind refresh. Good video. Design patterns are indeed very important when using this, thought I should mention this again!
    Now, I see you also have some mockito videos... let's-a-go!

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

    Thank you!
    Now I finally understand JPA basics!!

  • @shematonny3542
    @shematonny3542 2 роки тому

    Man wish i had a teacher like this

  • @gauravsharma1825
    @gauravsharma1825 2 роки тому

    Thanks Mr. Reddy ! The approach of building this top down was very helpful.

  • @swarnavonath7173
    @swarnavonath7173 3 роки тому +1

    I've copied the source code from the github link provided and finally when I'm trying to run it I'm getting the following exception:
    Exception in thread "main" javax.persistence.PersistenceException: Invalid persistence.xml.
    Can anyone please help?

  • @rukshanperera8782
    @rukshanperera8782 Рік тому

    best tutorial i had ever in youtube.

  • @traveho2747
    @traveho2747 2 роки тому

    So efficient explanation. It is really impressive

  • @iamchiranjeevin
    @iamchiranjeevin 6 років тому +1

    Perfect!! thanks alot bro, i followed bit to bit and now i'm cleared with Jpa concept.

  • @ahmadalghali90
    @ahmadalghali90 4 роки тому +2

    "I can use mysql cli but I'm a big fan of GUI". this is why I love you. others make us feel like crap if we use gui.

  • @tejaseervi1151
    @tejaseervi1151 Рік тому

    Superb way of teaching.

  • @Suraj-pf6ic
    @Suraj-pf6ic Рік тому

    awesome, man. went over many jpa video, but your's is so clear. Thank you.

  • @dragandanicic1008
    @dragandanicic1008 5 років тому +1

    Can anybody tell me what the hell he copied into persistence.xml file(19:02)? Thank you in advance! :D

  • @MarioSilva-ce6us
    @MarioSilva-ce6us 5 років тому

    Mo.Fuk... Thank you. I have been struggling to have NetBeans to work with derby or mysql without any luck. All the preconfigured files were so messy.
    This video in conjunction with more videos of your channel finally taught how to have Database working with web services ( restful )
    BR

  • @alaetouba9049
    @alaetouba9049 4 роки тому +1

    one of the best professors in ytb

  • @saveUyghurs
    @saveUyghurs 5 років тому +2

    10:32 "JPA has a special method called find()" Did he mean EntityManager interface has a special method called find instead of JPA??

  • @divyanshsapkale9415
    @divyanshsapkale9415 Рік тому

    always the best telusko i do recommend uh to everyone thanks for evrything and keep it up!!!❤❤

  • @vidyprakash
    @vidyprakash 6 років тому +1

    Simply super. the way you explain the concepts. Thank you.

  • @gajeshtripathi5721
    @gajeshtripathi5721 4 роки тому +1

    Nice video,, You are the best Guru...Edit database through JPA (merge function) should have been included as well for the shake of completion for this video.

  • @alessandromurtas6067
    @alessandromurtas6067 2 роки тому +1

    Yeah this is great content, other than great teaching material. Thank you Navin! I finally get what JPA is for

  • @nokuthabalunga8598
    @nokuthabalunga8598 6 років тому +1

    i recently discovered this channel , thank you so much for sharing information

  • @adarshkrchaudhary2269
    @adarshkrchaudhary2269 3 роки тому +1

    Thank you very much for this tutorial! 🙌💙

  • @raigamageperera4748
    @raigamageperera4748 5 років тому +2

    Excellent explanation. This was really hard for me and I understood everything very well.

  • @marksardar1890
    @marksardar1890 Рік тому

    Very well explained and easy to follow. Thank you!

  • @yogeshwaranc8785
    @yogeshwaranc8785 3 роки тому

    Extremely Good bro. I learn lot from you. I got better offer. Thanks so much.

  • @bindug7183
    @bindug7183 3 роки тому

    Awesome Navin sir.Thank you soo much for video

  • @Vithal_Nivargi
    @Vithal_Nivargi 3 роки тому

    Ur video is always awesome sir nice explained 🎉

  • @NhuNguyen-gl3dv
    @NhuNguyen-gl3dv 3 роки тому

    Great video. The best one about JPA.

  • @ObadimuAdewale
    @ObadimuAdewale 6 років тому +1

    This is a brilliant explanation. Good job

  • @premkumar-jz4di
    @premkumar-jz4di 2 роки тому

    Well explained sir keep it up more videos abt java full stack developer

  • @ajaydhiman2368
    @ajaydhiman2368 5 років тому +3

    See, i have tried this example but it didn't run. Applicaiton is unable to read persistence.xml i.e. unable to read pu unit. No Persistence provider for EntityManager named pu

    • @AnkitSingh-vm3lu
      @AnkitSingh-vm3lu 5 років тому

      i have solve this issue if u want to knw tell me...

    • @femaledeer
      @femaledeer 5 років тому

      @@AnkitSingh-vm3lu Can you post the solution. I copied the persistence.xml from Git, but I get "No Persistence provider for EntityManager named pu"

  • @andrijapersun157
    @andrijapersun157 2 роки тому

    Great tutorial! First one that really shows how it's done. Thank you :)

  • @reshamdevirajasthan2124
    @reshamdevirajasthan2124 4 роки тому

    Very nice explanation sir ......thank you very much for this video

  • @gettoknow8539
    @gettoknow8539 5 років тому

    Thanks for making it, Simple and easy to grab JPA Concept.

    • @waqasbhatti4478
      @waqasbhatti4478 4 роки тому

      Is this video complete to get start with jpa

  • @poojakale2310
    @poojakale2310 3 роки тому

    Thank you so much sir! I like your every video, Your videos help us to become good programmer in java, you covered almost each and every topic which needed to learn java.

  • @johnlawrencecaratao7108
    @johnlawrencecaratao7108 3 роки тому +2

    J is for JOHN P IS FOR PRATS A IS FOR AMACIO, YES HIS NAME THAT GUY JOHN PRATS AMACIO I LOVE THIS BOY GUY

  • @sandeepgouru2286
    @sandeepgouru2286 6 років тому

    Very nice, Clear Explaination. Thank you Sir.

  • @hangofox1720
    @hangofox1720 Рік тому

    Good night. I have an Oracle database with a table with 4 Clob-type fields. The CRUD (Read, Update and Delete) works correctly except for the create shows me the following error when I use Postman. How is the correct syntax in Spring to insert clob type data without showing me the following error:
    023-06-13 19:21:15.353 ERROR 6556 --- [nio-8084-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet] with root cause
    oracle.jdbc.OracleDatabaseException: ORA-00932: tipos de dato inconsistentes: se esperaba - se ha obtenido CLOB.

  • @ajayshankar3247
    @ajayshankar3247 6 років тому

    you are truly an awesome teacher

  • @blankvoidsea
    @blankvoidsea 2 роки тому

    Very clearly explained. Thanks a lot!

  • @abggk2
    @abggk2 6 років тому

    Very beginner friendly, thank you man!

  • @abhishekkumarsingh6251
    @abhishekkumarsingh6251 6 років тому

    sir you are the best!! keep making videos like this your explanations are best ! God bless you

  • @padarthiharibabu9412
    @padarthiharibabu9412 7 років тому +2

    Thanks Navin.. I got clear picture by going through all of your videos in hibernate playlist.
    I have a question.
    > When we are using hibernate specific methods, we created hibernate.cfg.xml -> use configuration, SessionFactory and Session classes to get Session.
    > In JPA tutorial, you had shown creating persistence.xml -> Persistence,EntityManagerFactory and finally Entitymanager, which we use for JPA methods.
    Now, in a project, can we have both ? and how to add properties like hbm2ddl, show_sql in persistence.xml ?

  • @dhirajctx
    @dhirajctx 2 роки тому

    In Springboot it's different implementation right ? Were we have to create object of Application Context

  • @intino9
    @intino9 2 роки тому

    Thank you !! Also thank you for sharing the repo. Appreciate it !!

  • @junaidishaq6332
    @junaidishaq6332 5 років тому

    Really helpful Navin. Thank you.

  • @sintu6039
    @sintu6039 5 років тому

    Ibatis has not implement JPA specification right? So its not that easy to change from hibernate to ibatis?

  • @DevOpsMIS
    @DevOpsMIS Рік тому

    What about Spring DATA JPA ? It is not being added in this playlist !

  • @rajput_manoj
    @rajput_manoj 5 років тому +1

    Awesome sir, u r a Legend 👍✌️

  • @shivakarthik7669
    @shivakarthik7669 2 роки тому

    U are my life saver thanks naveen

  • @vikrantmanekar4817
    @vikrantmanekar4817 5 років тому +1

    i am getting Exception while getting connection that Exception in thread "main" org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
    Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set

    • @kuhooraghuwanshi2033
      @kuhooraghuwanshi2033 4 роки тому

      Did u find the solution I too m getting the same error

    • @puneetagarwal1662
      @puneetagarwal1662 4 роки тому

      @@kuhooraghuwanshi2033 Did anyone got the solution for that?

  • @venkataramanareddy8947
    @venkataramanareddy8947 5 років тому

    Jpa dependent jars how maven downloaded? We didn't add jpa things in pom.xml right?. How jpa is working?

  • @Ravikumar-gj6qw
    @Ravikumar-gj6qw 6 років тому

    Bro ur explanation is very good tq for uploading this video

  • @TripAndVlogs
    @TripAndVlogs 4 роки тому

    fun way to teach . like hey jpa give me that data . amazing

  • @elyxthelynx
    @elyxthelynx 6 років тому

    Thank you! This video was really helpful understanding how JPA works in the implementation level!

  • @andysalic8065
    @andysalic8065 5 років тому

    You could use Lombok instead of generating getters and setters. Less boiler plate code, and you could write only setters/getters that are not trivial and maintain the readability of the class.

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

    Please make a video for the newer version, as I see a lot of differences between this video and the latest STS.

  • @juliusmutegi5530
    @juliusmutegi5530 5 років тому

    Thank you sir.You're a great teacher

  • @devanshusachdev7367
    @devanshusachdev7367 4 роки тому

    Hi Naveen, I am new to this stuff. Could you please tell me from where did you get the content for the "persistence.xml" file?

  • @sushilp915
    @sushilp915 6 років тому

    Nice Sir Very Clear Explaination

  • @saurabhshukla3080
    @saurabhshukla3080 4 роки тому

    Awesome teaching. Thanks

  • @jagdishrohit3748
    @jagdishrohit3748 4 роки тому

    Very good sir
    Please provide more examples on jpa.

  • @amarnathdr1315
    @amarnathdr1315 3 роки тому +1

    Hi Navin.., Thanks a lot for this beautiful session! The way you explained the concepts are too good. Keep up the good work :)

  • @abu_bakkar
    @abu_bakkar 6 років тому +1

    Excellent explanation. Thanks alot

  • @shubhambansal5487
    @shubhambansal5487 5 років тому

    You are doing a great job sir.

  • @venkatasaidamacharla9444
    @venkatasaidamacharla9444 3 роки тому

    Hai Naveen where we will find the xml code which pasted in persistance .xml

  • @Go4omir
    @Go4omir 7 років тому +1

    That's one of the best tutorials on JPA online. But I came across some issues. As you described, I've created the persistence.xml, and I gave a unit-name "af". Then in the App.java, I added ==> EntityManagerFactory emf = Persistence.createEntityManagerFactory("fa"); Exception in thread "main" javax.persistence.PersistenceException: No Persistence provider for EntityManager named faf

  • @XpLoeRe
    @XpLoeRe 5 років тому +7

    YOU ARE A LEGEND thank you.