Hi all, I am new to hibernate 2.1.8 and I am little confused about how can I save or update objects which have a type of relantionship. I read the hibernate reference but I am still confused.
Assume the following example:
Code:
track.getArtists().add(artist);
Do I have to save to the session the object "artist" or is it done automatically.
Can you give me an answer? and also which is the best way to save the new relationship? Can you provide me a link about this matter?
Thank you in advance, kostas