JDO does some byte code enhancement to your entities and JDO will replace java.util.List/ArrayList in entity classes with an implementation provided by JDO, e.g. org.datanucleus.sco.backed.ArrayList. You have the same problem when using Hibernate or any other JPA implementation because they all enhance class byte code to be able to support some JDO/JPA features. Thats why Juan mentioned Hibernate.
You either have to find a way to convert these specific JDO implementations back to their java counter parts before sending them back to the browser or you have to use a Data Transfer Object (DTO pattern) to return your data. Looking at your code it seems like you somewhere missed to convert a JDO List into a java.util.List in MyInnerList.class. Otherwise you shouldn't see the exception anymore as you already copy things to a normal java.util.ArrayList. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/pekcRWaO5EsJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
