
In the Java Configure project for building a Java application window, select the source folder on the build path and click Next. In the Target runtime field, click a runtime server that you wish to use. In the Project name field, type a name for the project.ī. In the workspace, click File > New > Other and then search for JPA Project and double-click it to open the New JPA Project wizard.Ī. To create a JPA project and connect to the database: On the terminal, navigate to the directory where you have saved the sakila-h2.jar file and run the following command to start the database: Download the sakila-h2 database from h2 version of the Sakila database.Ģ. Create a JPA Project and Connect to the Sakila-h2 Database Prerequisiteġ. You can also use Hibernate to Run queries, browse mappings and generate code for your data projects.


Use the Hibernate Tools to easily generate, test and prototype your Hibernate or JPA mapped projects. The tools provide Eclipse plugins for reverse engineering, code generation, visualization and interaction with Hibernate. Hibernate Tools is a collection of tools for projects related to Hibernate version 5 and earlier.
