Serializable Hibernate data object for GWT RPC
问题 I have a simple POJO mapped to a table using Hibernate. Which works just fine. public class Patient implements Serializable { private int patientId; private String firstName; private String lastName; private Set<Prescription> patientPrescriptions; public Patient() {} ... } My problem is I want to be able to serialize the object so I can get it trough the wire for my GWT-RPC calls. If my async service return this object I get an error: com.google.gwt.user.client.rpc.SerializationException: