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/Development/JPA 2.0/CanonicalMetaModelGeneration

< EclipseLink‎ | Development‎ | JPA 2.0
Revision as of 13:48, 21 July 2009 by Peter.krogh.oracle.com (Talk | contribs) (New page: ==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 ...)

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

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