[jboss-user] [JBoss Seam] - ClassCastException SerializableProxy when switching to STAT

baspet do-not-reply at jboss.com
Mon Nov 12 06:15:30 EST 2007


switching STATE_SAVING_METHOD to client on web.xml, i am getting ClassCastException with message: "cannot assign instance of org.hibernate.proxy.pojo.javassist.SerializableProxy to field someField".
I am using EntityQuery as backing bean and the exception happens when a form containg h:datatable is submitting.
The backing bean's result list contains entities with lazy load properties. Before posting, i googled but to be honest i really got confused.

JBoss 4.2.1GA
Seam 2.0.0GA
JDK 1.5.0_13
Windows XP

Thank you

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

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

More information about the jboss-user mailing list