当前位置: > Caused by:org.hibernate.ObjectNotFoundException:No row with the given identifier exists:[cn.ipanel.i...
题目
Caused by:org.hibernate.ObjectNotFoundException:No row with the given identifier exists:[cn.ipanel.itd.asset.entity.UserView2#1602]
x05at org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
x05at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:79)
x05at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:68)
x05at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
x05at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150)
x05at cn.ipanel.itd.asset.entity.UserView2$$EnhancerByCGLIB$$7314bb97.getToDay()
x05at sun.reflect.GeneratedMethodAccessor321.invoke(Unknown Source)
x05at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
x05at java.lang.reflect.Method.invoke(Method.java:585)
x05at org.directwebremoting.impl.PropertyDes

提问时间:2021-03-17

答案
楼主用了opensessioninview机制吗,刷新出现这个错误,莫非你页面还有查询数据库的代码?!一般view,control,Po三层分离,用onpensessioninview不会出现这种问题_____________________________________________hibernate...
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
版权所有 CopyRight © 2012-2019 超级试练试题库 All Rights Reserved.