关于 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