i have two class below (one-many relation), when i made a rpc call to get Rating, it throws exception:
com.google.gwt.user.client.rpc.SerializationException: Type 'org.datanucleus.sco.backed.List' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized. i have no idea what org.datanucleus.sco.backed.List is (2 class) @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "false") public class Rating implements Serializable{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension(vendorName="datanucleus", key="gae.encoded-pk", value="true") private String encodedKey; @Persistent private java.util.List<RatingParameter> parameters = new ArrayList<RatingParameter>(); } @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "false") public class RatingParameter implements Serializable{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent private String title; } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---