HHH-18662 Attribute not mentioned in orm.xml ends up not being mapped in Hibernate ORM 7

This commit is contained in:
Andrea Boriero 2024-09-23 16:05:47 +02:00 committed by Steve Ebersole
parent 1327f002cd
commit 1adfaf30a5
1 changed files with 0 additions and 2 deletions

View File

@ -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,