Thanks for the notice of the problem - I will have a look at it tonight (have to do payed work at the moment :-( ). Could you please provide the schema for it so I can double check the original table organisation. I ask as it appears that there are more tables involved than you are showing.
BTW I do find this comment very odd.
Quote:
BTW in general I am having a heck of a time migrating from 2.1 Beta 6 to RC1 using Middlegen created XML files. Seems to me to be a good idea to do more testing with Middlegen and Hibernate to make sure the generated files work. Or else modify Hibernate or Middlegen so they would cooperate better.
You did say that the mapping files did work with 2.1Beta6 now since Middlegen r3 was released around the same time as 2.1Beta6 then it matches its goal. Anyway, I try to make Middlegen mostly work with current versions of Hibernate as much as possible. The rc1 release has an issue with CGLIb2 which may or may not be the problem. Anyway, I'll have a look and we will see what I come up with.