I'm trying to copy an entitiy to create a new entity from Hibernate, with Dozer.
So far, everything has gone good. But one field has lazy loading turned on. Dozer expects a Map
but since it's lazy loaded, it gets an java.util.Collections$UnmodifiableMap
.
Is there any way of forcing it to load the "real" Map
-object?
I've tried setting a field-hint in the mapping XML, but to no avail. Is there any good Javassist / Hibernate proxy thing to fix the Unmodifiable map problem?
Regards