Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/Examples/JPA/Employee/Annotations

< EclipseLink‎ | Examples‎ | JPA‎ | Employee
Revision as of 11:17, 18 June 2009 by Douglas.clarke.oracle.com (Talk | contribs) (New page: = Employee JPA Example using Annotations = This is 1 variant of the Employee JPA examples which makes use of annotations only to configure the obje...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Employee JPA Example using Annotations

This is 1 variant of the Employee JPA examples which makes use of annotations only to configure the object-relational mappings.

Download and Setup

Zip

The example is available as a simple ZIP download from here. Its layout includes

  • /
    • src/
      • model/
      • example/
      • META-INF/
    • example.properties

Eclipse Project

You can download the example projects involved directly into your Eclipse IDE by importing a team project set. Since the Eclipse project uses Subversio you will need to have your environment configured for access to the Eclipse Subversion repository. This can be accomplished using the Subversive Project. After your Subversion access has been setup you can simply follow these steps:

  1. Import the team project set
  2. Verify that all libraries are available
    1. EclipseLink 1.1.2
    2. JDBC
  3. Configure the example.properties

Feature Highlights

Running the Example

Back to the top