Hi, I am trying to create a one to many relationship and i can see "mapped by" is used in parent side and @JoinColumn on the child side. Event if we use @JoinColum on parent side, it works. So i am not clear at this point when to use mapped by and when @JoinColumn. Please advice.
posted 2 years ago
To teach is to learn twice.
I never intend to teach but rather learning thrice.
So speaking of learning: if possible, can you the example so that I can see?