entity with relationships through GWT RPC problem
问题 I am using JPA 2.0. (EclipseLink 2.0.2) If an entity contains relations, for example: @OneToMany(cascade = CascadeType.ALL, mappedBy = "userId") private Collection<Blog> blogCollection; I am getting the following error when I am sending it through RPC: com.google.gwt.user.client.rpc.SerializationException: Type 'org.eclipse.persistence.indirection.IndirectList' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For