sergey wrote:
I think you should use <generator class="foreign"> in one of those classes.
Thanks for your tip Sergey, but from what I gather the foreign generator is used primarily for one-to-one relationsships where you'd use the primary key to to match the two tables - e.g. you use Account.Id to match Person.Id - in this case I have a foreign key on Person. Now, what I might have been missing is a unique constraint on the many-to-one, as mentioned in the documentation, but I fail to see how this would impact hibernate's persistance and/or property set logic.