HHH-18662 Attribute not mentioned in orm.xml ends up not being mapped in Hibernate ORM 7
This commit is contained in:
parent
1327f002cd
commit
1adfaf30a5
|
@ -133,7 +133,6 @@ public class ManagedTypeProcessor {
|
|||
classDetails.forEachPersistableMember( memberDetails -> {
|
||||
final MutableMemberDetails mutableMemberDetails = (MutableMemberDetails) memberDetails;
|
||||
mutableMemberDetails.clearAnnotationUsages();
|
||||
mutableMemberDetails.addAnnotationUsage( JpaAnnotations.TRANSIENT.createUsage( xmlDocumentContext.getModelBuildingContext() ) );
|
||||
} );
|
||||
}
|
||||
|
||||
|
@ -720,7 +719,6 @@ public class ManagedTypeProcessor {
|
|||
MutableMemberDetails memberDetails,
|
||||
JaxbPersistentAttribute jaxbAttribute,
|
||||
XmlDocumentContext xmlDocumentContext) {
|
||||
memberDetails.removeAnnotationUsage( JpaAnnotations.TRANSIENT );
|
||||
CommonAttributeProcessing.applyAttributeAccessor(
|
||||
jaxbAttribute,
|
||||
memberDetails,
|
||||
|
|
Loading…
Reference in New Issue