1.
One to One Mapping
Click on the
association arrow in the
toolbar > Database Mapping > One to One > Birectional
Then move your mouse on the first class and click.
finally move the link to the second class and click.
The annotation has been added on the getter and the UML editor has been
updated.
2. One to Many Mapping
Click on the
association arrow in the
toolbar > Database Mapping > One to Many > Birectional
Then move your mouse on the first class and click.
finally move the link to the second class and click.
The annotation has been added on the getter and the UML editor has been
updated.
3.
Many to One Mapping
Click on the
association arrow in the
toolbar > Database Mapping > Many to
One > Birectional
Then move your mouse on the first class and click.
finally move the link to the second class and click.
The annotation has been added on the getter and the UML editor has been
updated.
4. Many to Many Mapping
Click on the
association arrow in the
toolbar > Database Mapping > Many to Many
> Birectional
Then move your mouse on the first class and click.
finally move the link to the second class and click.
The annotation has been added on the getter and the UML editor has been
updated.