当前位置: 代码迷 >> Eclipse >> 求解啊这个异常是咋回事呀,hibernate
  详细解决方案

求解啊这个异常是咋回事呀,hibernate

热度:38   发布时间:2016-04-23 13:26:59.0
求解啊~~这个错误是怎么回事呀,hibernate
Exception in thread "main" java.lang.IllegalArgumentException: id to load is required for loading
at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:74)
at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:56)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:820)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:816)
at com.test.bean.HibernateTest.loadAndUpdateCustomer(HibernateTest.java:80)
at com.test.bean.HibernateTest.test(HibernateTest.java:198)
at com.test.bean.HibernateTest.main(HibernateTest.java:207)


------解决方案--------------------
HibernateTest.java 80 行
------解决方案--------------------
参数错误
  相关解决方案