Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Now I will show you how to use Hibernate with the albums example from Chapter 26, so you can appreciate the advantages of an object relational bridge. In addition, you can use the already integrated database system Java DB again now. Add the library wrapper module with the Hibernate libraries to the already created Platform application. Each module that wants to use the Hibernate functionality is able to define a dependency to the application. In this example, it is only the application module (My Module). Open the Properties window over the context menu and add the Hibernate module under Libraries. You have to add a dependency on the Java DB module to the Hibernate module in the same way so Hibernate can access the Java DB database driver.