Learn about UML-to-JPA transformations and when to use
mapping models.
UML-to-JPA transformations
The UML-to-JPA transformation
generates Java Persistence
API (JPA) entities
and Java code from Unified Modeling
Language (UML) model elements. You must apply the stereotypes of the
UML-to-JPA transformation profile to UML model elements to generate
enterprise beans.
Reverse transformations: JPA to UML When
you create a UML-to-JPA transformation configuration and enable the Reconciled
Modeling design
contract management protocol (DCMP), the JPA-to-UML transformation is automatically
enabled. Reverse transformations enable you to reconcile changes in an iterative
development process.
About mapping models You
can specify alternate file names for any of the files and folders that a transformation
generates by creating a mapping model. You can specify alternate names if
you want to include code-specific details such as naming restrictions in platform-specific
models, or if the logical organization of the source model is not appropriate
as target packaging.