I have a class called SynonymMapping which has a collection of values mapped as a CollectionOfElements
@Entity(name = "synonymmapping") public class SynonymMapping { @Id private String keyId; ...