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 ...

Get The Definitive Guide to NetBeans™ Platform 7 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.