You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using XML mapping that works but not via annotations. Documentations says that with wildcard being disabled it is important to specify fields explicitly. But isn't that so if I have annotations?
Whats your runtime?
Whats the problem?
Steps to reproduce:
<wildcard>false</wildcard>
in configurationSource
andTarget
classes with two fields:fieldA
andfieldB
and corresponding getters and settersfieldA
in those classes but keepfieldB
Observed Results:
In
Target
object neitherfieldA
norfieldB
has valuesExpected Results:
Only annotated
fieldA
is being mappedReason:
Inside
ClassMapBuilder#generateMapping
there is a condition:The text was updated successfully, but these errors were encountered: