HHH-13764 Include getter annotations when required for the enhancements

This commit is contained in:
Davide D'Alto 2019-12-03 17:47:58 +00:00
parent 98101bfc52
commit 4fb813f39c
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ public class EnhancerImpl implements Enhancer {
} }
annotationDescriptions.addAll( fieldDescription.getDeclaredAnnotations() ); annotationDescriptions.addAll( fieldDescription.getDeclaredAnnotations() );
return fieldDescription.getDeclaredAnnotations(); return new AnnotationList.Explicit( annotationDescriptions );
} }
} }
} }