I am following the tutorial
Hibernate O/R Mappings
It says there are four types of association mappings:
I always keep forgetting on which side the extra field in the table should be added. Is there any way of remembering it?
Re: Association Mappings
The "extra" key of the maping is on the many-to-one mapping or on one of the one-to-one mappings.
Read about DB, and after that you will never have question like this. BTW for one-to-one mappings you can put on any side the mapping column, but not on bout.
And for this the decision is all your, you will put it, on the side where you will need it.