HHH-14827 Fix @AttributeOverride at type level being ignored when also using orm.xml
This commit is contained in:
parent
170821c135
commit
70d7ac6ecd
|
@ -1880,9 +1880,10 @@ public class JPAXMLOverriddenAnnotationReader implements AnnotationReader {
|
|||
}
|
||||
|
||||
private AttributeOverrides getAttributeOverrides(ManagedType root, XMLContext.Default defaults) {
|
||||
return root instanceof JaxbEntity
|
||||
? getAttributeOverrides( ( (JaxbEntity) root ).getAttributeOverride(), defaults, true )
|
||||
: null;
|
||||
return getAttributeOverrides(
|
||||
root instanceof JaxbEntity ? ( (JaxbEntity) root ).getAttributeOverride() : Collections.emptyList(),
|
||||
defaults, true
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue