Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

what is JPA Persistence Unit  RSS feed

 
Ranch Hand
Posts: 629
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
Posts: 39054
714
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.

 
Do not threaten THIS beaver! Not even with this tiny ad:
ScroogeXHTML 8.0 - RTF to HTML5 and XHTML converter
https://coderanch.com/t/704747/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!