谁说MIDDLEGEN不能设置表间的关系!..ONE TO ONE  ONE TO MANY 都没有问题  MANY TO MANY 是需要手工设置一下!hibernate synchronizer 也是生成不了 many to many的