Create a JPA project |
In order to begin, you must create a new Java project.
Select File > New > Project. The New Project dialog appears.
On the New Project dialog, select JPA > JPA Project and click OK. The New JPA Project dialog appears.
On the New JPA Project dialog, enter Employee
as the Project name and click Next. The Project Facets page appears.
Verify that you have selected a Java 5.0 (or higher) and JPA 1.0 facet, and click Next. The JPA Facet page appears.
Select your vender-specific platform, database connection, and JPA implementation library, and click Finish.
Eclipse adds the project to the workbench and opens the Java perspective.
The next step is to Create persistent Java entities.