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.
Can you post the whole stack trace.