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!
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
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 👽
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!
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).
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 :)
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. :)
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 !
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!
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?
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
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.
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
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.
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.
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 ?
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
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.
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
We need teachers like him in every tech class. No BS, pure knowledge.
Seriously you are not from Earth. You are really an Alien. Wonderful series. Got a lot of knowledge on Hibernate.
yes good teaching.
.but very old video.iam watching in 2024
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!
All I need is Black Coffee and Telusko....Learning is so possible and happening...
Thanks a lot Navin Sir.... Much respect.
I was always having a confusion whether am using JPA or Hibernate. But now am clear.. Thank you Sir..
You are probably the best teacher in youtube for programming
yeah man , you explain everything with a simple logic
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..
Please try out my videos
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
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 👽
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!
Best indian Java tutorials ever made and seen.
You're the best tech teacher i have ever seen
I was looking for the right JPA tutorial and look I am landed on the right one. Thank you, sir.
you do know well how to teach beginners like us .
you r the best keep doing sir.
I like that you explain the issue before explaining the solution.
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..
Where did you get the block of persistence code at 19:03. That came out of no where??
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).
I love this guy. What a beautiful way of explaining things.
thank you on the complete hibernate series. I was able to complete it and get good knowledge on Hibernate.
you are so good teacher and also online tutor
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 :)
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. :)
Unique way of presenting new concepts. The Master Classes.
Awesome Sir Ji, I was always in confusion regarding Hibernate and JPA & Specification and Implementation.
This video helped me alot 🙏🙏
Thanks Navin for the quick JPA overview.
Thank you very much for providing this type of video so any java developer can easily learn and implement within very sort time.
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 !
this is the best video I have seen so far for JPA, very nice explanation
The Best & easy video .... seriously, easily understand JPA😍
Thanks Navin for the short & the informative video on JPA. Keep up the good work
Bhayya kummesaru..your videos giving lot of info
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!
Thank you!
Now I finally understand JPA basics!!
Man wish i had a teacher like this
Thanks Mr. Reddy ! The approach of building this top down was very helpful.
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?
best tutorial i had ever in youtube.
So efficient explanation. It is really impressive
Perfect!! thanks alot bro, i followed bit to bit and now i'm cleared with Jpa concept.
"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.
Superb way of teaching.
awesome, man. went over many jpa video, but your's is so clear. Thank you.
Can anybody tell me what the hell he copied into persistence.xml file(19:02)? Thank you in advance! :D
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
one of the best professors in ytb
10:32 "JPA has a special method called find()" Did he mean EntityManager interface has a special method called find instead of JPA??
always the best telusko i do recommend uh to everyone thanks for evrything and keep it up!!!❤❤
Simply super. the way you explain the concepts. Thank you.
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.
Yeah this is great content, other than great teaching material. Thank you Navin! I finally get what JPA is for
i recently discovered this channel , thank you so much for sharing information
Thank you very much for this tutorial! 🙌💙
Excellent explanation. This was really hard for me and I understood everything very well.
Ioo
Very well explained and easy to follow. Thank you!
Extremely Good bro. I learn lot from you. I got better offer. Thanks so much.
Awesome Navin sir.Thank you soo much for video
Ur video is always awesome sir nice explained 🎉
Great video. The best one about JPA.
This is a brilliant explanation. Good job
Well explained sir keep it up more videos abt java full stack developer
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
i have solve this issue if u want to knw tell me...
@@AnkitSingh-vm3lu Can you post the solution. I copied the persistence.xml from Git, but I get "No Persistence provider for EntityManager named pu"
Great tutorial! First one that really shows how it's done. Thank you :)
Very nice explanation sir ......thank you very much for this video
Thanks for making it, Simple and easy to grab JPA Concept.
Is this video complete to get start with jpa
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.
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
Very nice, Clear Explaination. Thank you Sir.
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.
you are truly an awesome teacher
Very clearly explained. Thanks a lot!
Very beginner friendly, thank you man!
sir you are the best!! keep making videos like this your explanations are best ! God bless you
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 ?
In Springboot it's different implementation right ? Were we have to create object of Application Context
Thank you !! Also thank you for sharing the repo. Appreciate it !!
Really helpful Navin. Thank you.
Ibatis has not implement JPA specification right? So its not that easy to change from hibernate to ibatis?
What about Spring DATA JPA ? It is not being added in this playlist !
Awesome sir, u r a Legend 👍✌️
U are my life saver thanks naveen
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
Did u find the solution I too m getting the same error
@@kuhooraghuwanshi2033 Did anyone got the solution for that?
Jpa dependent jars how maven downloaded? We didn't add jpa things in pom.xml right?. How jpa is working?
Bro ur explanation is very good tq for uploading this video
fun way to teach . like hey jpa give me that data . amazing
Thank you! This video was really helpful understanding how JPA works in the implementation level!
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.
Please make a video for the newer version, as I see a lot of differences between this video and the latest STS.
Thank you sir.You're a great teacher
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?
Nice Sir Very Clear Explaination
Awesome teaching. Thanks
Very good sir
Please provide more examples on jpa.
Hi Navin.., Thanks a lot for this beautiful session! The way you explained the concepts are too good. Keep up the good work :)
Excellent explanation. Thanks alot
You are doing a great job sir.
Hai Naveen where we will find the xml code which pasted in persistance .xml
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
YOU ARE A LEGEND thank you.