org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.chint.model.bas.Vendor#
exception
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.chint.model.bas.Vendor# ] org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409) org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:171) org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223) org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126) 这个问题主要为vendorId在存入表pm_plan时存入了空字符串,需要在存入时进行判断去除空字符串