Greetings
first off, apologies if this has been asked and answered multiple times. I've searched through the forum as best I can and have not found this particular question, so hopfully I'm not clogging the place with a repeat question.
here's the deal
I've got a database set up in similar fashion to the example in the hibernate reference manual (see section 1.3.2 of the 3.3.1 manual). So I've got the person table, events table, and the person_events table (the association table that governs the many to many relationship between person and events).
I can add a new person with associated new events just fine (and vice versa) with hibernate handling it all with its divine will.
However I cannot seem to get the magic configuration so that hibernate automatically updates the person_events table. Is this possible? or must one simply utilze HQL/SQL to do this?
Thanks in advance to any that can help.
Trippy
|