Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/Development/JPA 2.0/CanonicalMetaModelGeneration

Rules of engagement

1. look for persistence.xml files.

1.1. verify that the version number is 2.0.

2.  Collect Persistence units.

3. loop over persistence units

3.1 read all orm.xml files (and eclipselinkorm.xml)

3.2 Add list classes from persistence.xml that were not in orm.xml (must have an @Entity on it)

3.3 if not metadatcomplete

3.3.1 search source for @Entity - add them to the list.

Back to the top