C H A P T E R 29
MySQL and EclipseLink
In Chapter 26, you created an application with which you saved music albums in a Java DB database. In this first step, you split the objects to be saved in SQL statements and assembled them from SQL results again. An object-relational mapping (ORM) framework like Hibernate does this work for you. Chapter 27 dealt with how to integrate Hibernate into a NetBeans Platform application and how to use the native interface of Hibernate. In Chapter 28 you got to know the Java Persistence API (JPA) that specify the interface of an ORM framework. Using the JPA, you could make the application independent of a special implementation, in this case Hibernate.
In the following sections, EclipseLink will be substituted ...