Beginner |
|
Joined: Wed Sep 10, 2003 5:32 pm Posts: 28
|
Hi everyone,
I am using Hibernate version 2.1.2 and I am running into OutOfMemoryError exception with cglib. I want to find out if anyone can share some light with this problem. Here is the exception that I get:
net.sf.hibernate.InstantiationException: Could not instantiate entity with CGLIB: qatest.qaav4.Customer
at net.sf.hibernate.persister.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:349)
at net.sf.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1766)
at net.sf.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1758)
at net.sf.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:502)
at net.sf.hibernate.loader.Loader.getRow(Loader.java:426)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:209)
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
at net.sf.hibernate.loader.Loader.doList(Loader.java:950)
at net.sf.hibernate.loader.Loader.list(Loader.java:941)
at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:839)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1512)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1491)
Caused by: java.lang.OutOfMemoryError
Can someone give some suggestions on how to fix this problem?? Thanks
Vivian
|
|