Dozer: Hibernate PersistentMap is not mapped to java.util.HashMap
问题 I have a Hibernate annotated entity with a field: @OneToMany(mappedBy="templateInstance", fetch = FetchType.EAGER) @MapKey(name = "attributeName") private Map<String, Component> components; Hibernate makes a PersistentMap out of this. Then I want Dozer to map this to an object with such a field: private Map<String, ComponentDto> components; After having LazyInitializationExceptions and some debugging, I found out, that it´s not a problem of a closed Hibernate session, but that Dozer tries not