I have a created a EJB3 Project with a session EJB facade for entity EJB's. I 
created a client that looks up the session EJB and tries to get entities 
serialized back. When I have entities with lazy loaded entities, I get a 
MarshalException delivered in an UndeclaredThrowableException. The details are :

org.hibernate.HibernateException: CGLIB Enhancement failed : com.test.Test

where Test is a lazily loaded entity.

* Should I be able to get the entities from the session bean? 
* Is there a better way of accomplishing this?

I do not want to be forced to load all that information eagerly.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945808#3945808

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945808


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to