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

C H A P T E R  27

Hibernate

In Chapter 26 you learned about using the client database solution Java DB within a rich client application. You had to disassemble the files to save them in the relational database system and you also had to extract the data of the database in a conventional way via SQL over the JDBC interface. You then had to assemble your objects—in this example, Album and Genre. You encapsulated this functionality in the class DataModel—you may have noticed that this can become quite complicated and error-prone. This is one of the reasons database creators put such an effort into developing and standardizing object-oriented databases, although they cannnot establish and enforce against the relational systems, yet. This is mainly because of the widespread use of the RDBMS: new applications have to access data that is saved in relations.


  

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