6.3.4. Ternary associations
There are three possible approaches to mapping a ternary association. One is to use a Map
with an association as its index:
A second approach is to simply remodel the association as an entity class. This is the approach we use most commonly.
A final alternative is to use composite elements, which we will discuss later.