No row with the given identifier exists_关于Hibnerate映射配置文件中的<many-to-one>注意事项
关于Hibnerate映射配置文件中的<many-to-one>注意事项
错误信息:No row with the given identifier exists
错误原因:1的那一端为空,只需加上not-found="ignore"? 来解决即可。
?
< many-to-one name = "ccmData" class = "com.huawei.usmccm.ccmdata.domain.vo.CcmData" not-found = "ignore" fetch = "select" > < column name = "PARENTID" /> </ many-to-one > ?
?
??????????????????????????????????????????????????????????????????????????????????? 田军tKF25401
???????????????????????????????????????????????????????????????????????? ??????? 2010-04-09