|
这个主题共有 2 回复 / 1 页 [
]
|
|
|
|
|
|
loadModelById的问题,求救啊
|
发表: 2007年11月19日 18:09
|
回复
|
|
2007-11-19 18:01:50,218 [http-8080-Processor25] DEBUG com.jdon.bussinessproxy.target.POJOObjectFactory - [JdonFramework] create new pojo Object id 13605872 2007-11-19 18:01:50,218 [http-8080-Processor25] DEBUG com.jdon.aop.reflection.ProxyMethodInvocation - [JdonFramework] target:com.uf.serv8.service.MessageServiceImp service's method:getMessage running.. 2007-11-19 18:01:50,218 [http-8080-Processor25] DEBUG com.jdon.aop.reflection.ProxyMethodInvocation - [JdonFramework] it is pojo target service 2007-11-19 18:01:50,218 [http-8080-Processor25] DEBUG com.jdon.aop.reflection.MethodInvokerUtil - [JdonFramework] method invoke: com.uf.serv8.service.MessageServiceImp method=getMessage 2007-11-19 18:01:50,250 [http-8080-Processor25] DEBUG org.hibernate.event.def.DefaultLoadEventListener - loading entity: [com.uf.serv8.model.Message#111] 2007-11-19 18:01:50,250 [http-8080-Processor25] DEBUG org.hibernate.event.def.DefaultLoadEventListener - creating new proxy for entity 2007-11-19 18:01:50,265 [http-8080-Processor25] INFO org.hibernate.event.def.DefaultLoadEventListener - Error performing load command org.hibernate.HibernateException: CGLIB Enhancement failed: com.uf.serv8.model.Message at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxy(CGLIBLazyInitializer.java:96) at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.getProxy(CGLIBProxyFactory.java:49)
|
|
|
|
|
|
从这里可以看到数据库有值取出来
|
发表: 2007年11月19日 18:10
|
回复
|
|
2007-11-19 18:01:50,203 [http-8080-Processor25] DEBUG com.jdon.strutsutil.ModelListAction - [JdonFramework] setModellistByK** AllCount=2 2007-11-19 18:01:50,203 [http-8080-Processor25] DEBUG com.jdon.strutsutil.ModelListAction - [JdonFramework] getModelList page size=2 2007-11-19 18:01:50,203 [http-8080-Processor25] DEBUG com.jdon.strutsutil.ModelListAction - [JdonFramework] getCache from db. 2007-11-19 18:01:50,203 [http-8080-Processor25] DEBUG com.jdon.controller.service.WebServiceFactory - <==============================>start: JdonFramework core entrance 2007-11-19 18:01:50,203 [http-8080-Processor25] DEBUG com.jdon.controller.service.WebServiceFactory - <===============>Looking up new service='messageService' 2007-11-19 18:01:50,203 [http-8080-Processor25] DEBUG com.jdon.bussinessproxy.config.TargetMetaDefXmlLoader - [JdonFramework]metaDefs size:4 2007-11-19 18:01:50,203 [http-8080-Processor25] DEBUG com.jdon.controller.service.WebServiceFactory - [JdonFramework] service=messageService found, and now return the service instance 2007-11-19 18:01:50,203 [http-8080-Processor25] DEBUG com.jdon.security.web.HttpRequestUserSetup - [JdonFramework] setArrtibute:REMOTE_ADDRESS=127.0.0.1 2007-11-19 18:01:50,203 [http-8080-Processor25] DEBUG com.jdon.container.access.ServiceAccessorImp - [JdonFramework] enter getService: proxyInstanceFactoryVisitable in action
|
|
|
|
|
|
回复:loadModelById的问题,求救啊
|
发表: 2007年11月20日 10:05
|
回复
|
|
>org.hibernate.HibernateException: CGLIB Enhancement failed: com.uf.serv8.model.Message
主要是Hibernate的错误。
|
|
|
|