Getting Started with JPA and Eclipse
This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create
and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and retrieve simple
Point entity objects, where each
Pointhas two persistent fields:
For this tutorial, besides the Java JDK (5 or above) and the Eclipse IDE (either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers), you only need to download and extract the ObjectDB distribution zip file. The distribution zip contains everything necessary (no external dependencies).
This tutorial was written for Eclipse 3.6.1 but it should work with other Eclipse versions as well (dialog boxes and menus might look slightly different but the code would be the same).
This tutorial consists of the following steps: