one-to-one关系中的插入问题
3 楼 xly_971223 2007-05-08 楼主的一对一写法好像不对吧应该把contact.memberId定义为member.id的外键 同时又是contact表的主键。去掉contact.id《深入浅出hibernate》里有这样的例子