one-to-one with composite-id must have common CompositeId class
问题描述, 有两张表 table_1, table_2 主键 a , b 相同。 用 hibernate tools 生成相应的代码。 调用查询出错, 原因 。 联合主健需要相同的类。-------------------------------------------------------------------
转载
2012-03-26 17:18:56 ·
637 阅读 ·
0 评论