JPA Could not serialize

I have this class, but when I make a query it throws an exception: org.hibernate.type.SerializationException: could not serialize @Entity public class Google implements Serializable{ @Id String …