Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what is JPA Persistence Unit  RSS feed

 
Ranch Hand
Posts: 605
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is Persistence Unit in JPA? What is the use of it? I googled for it but didn't find any good explanation with example.

Also, I have got some basic understanding of JPA with Hibernate using a online video course, but I want to go more deeper, can someone please suggest me a good resource or book?  I thought of java persistence with hibernate but amazon reviews are not good. Any other book I can follow?
 
author & internet detective
Marshal
Posts: 38367
645
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A "persistence unit" is a set of entities. For example, see this XML file.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!