Ошибка
Код: Выделить всё
ModelMapper mapping errors:
1) Converter org.modelmapper.internal.converter.MergingCollectionConverter@36531f6d failed to convert org.hibernate.collection.internal.PersistentSet to java.util.Set.
1 error
Ниже приведен класс сущности:
Код: Выделить всё
public class AgentCustomerMappingEntity {
@Id
@GeneratedValue(generator = "hibernate-uuid")
@Type(type = "uuid-char")
private UUID id;
@OneToOne
private ProcessEntity process;
@OneToOne
private AgentEntity agent;
@OneToMany
private Set customers;
}
Как это исправить?
Подробнее здесь: https://stackoverflow.com/questions/772 ... erting-set