Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 7. The persistence bundle > Object-relation mapping through JPA

7.3. Object-relation mapping through JPA

The Java Persistence API (JPA, http://jcp.org/en/jsr/summary?id=317) is a framework for automating the persistence of Java object instances into different storage mechanisms, most commonly to RDBMSs, in a manner that simplifies programming for the application developers.

In the following listing, you’ll see how you can use JPA to simplify our scenario. Keep in mind that we’re starting with a simple approach to illustrate the technology; we’ll improve it as we move through the sections and in future chapters.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint