摘要:
概述: 当使用Nhibernate查询表中的数据时,如果表中存在复合主键,如果没有在相应的实体类中重写Equals(),那么将会出现"Could not compile the mapping document: TestCleanSnow.JkptGlxtUser.hbm.xml".当跟踪出错的内部信息的时候会发现,内部异常为"composite-id class must overrid... 阅读全文
posted @ 2009-02-24 16:46
王晓成
阅读(2531)
评论(4)
推荐(0)
浙公网安备 33010602011771号