1 Reply Latest reply on Nov 12, 2007 12:17 PM by pmuir

    ClassCastException SerializableProxy  when switching to STAT

    baspet

      Hi,

      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