Hello,
I'm stumped as to how to map the following relation, using annotations:
Code:
|---|
| A |
------ 0..1 |---|
| c |-------| | C |
------ | 1 -------
|-----| a |
|---| 1 | |
| B | |-----| b |
------ 0..1 | -------
| c |-------|
------
Read:
A has one C
B has one C
C has zero or one A, zero or one B
My eternal gratitude to anyone who can tell me the correct @OneToMany annotations for this case, then i'll be able to look at the manual again without losing my mind..
With backreference? Please?
ben(stupid)