错误信息:No row with the given identifier exists
错误原因:1的那一端为空,只需加上 not-found="ignore" 来忽略即可
<many-to-one name="processStatistics" column="EMPLOYEESN"
class="com.ibm.tjmc.eip4.pe.pojo.ProcessStatistics" insert="false"
update="false" cascade="none" not-found="ignore" />
错误原因:1的那一端为空,只需加上 not-found="ignore" 来忽略即可
<many-to-one name="processStatistics" column="EMPLOYEESN"
class="com.ibm.tjmc.eip4.pe.pojo.ProcessStatistics" insert="false"
update="false" cascade="none" not-found="ignore" />