public class HibernateProxyDozerFieldMapper extends Object implements com.github.dozermapper.core.CustomFieldMapper
CustomFieldMapper that initializes a non-hibernate initialized lazy field via a new session upon the first request to the object.
The object is then also mapped to a dto via a given Mapper instance before the resulting object is actually accessed.
If for some reason the mapping of the hibernate object fails, the hibernate initialized version will be accessed instead.| Constructor and Description |
|---|
HibernateProxyDozerFieldMapper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
mapField(Object source,
Object destination,
Object sourceFieldValue,
com.github.dozermapper.core.classmap.ClassMap classMap,
com.github.dozermapper.core.fieldmap.FieldMap fieldMapping) |
Copyright © 2020. All rights reserved.