Skip to content

Commit d5ac648

Browse files
committed
HHH-11549 - Unable to locate MappedSuperclass version attribute when mixing annotations with hibernate mapping files
1 parent 0f20e51 commit d5ac648

File tree

1 file changed

+1
-0
lines changed
  • hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm

1 file changed

+1
-0
lines changed

hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,6 +1043,7 @@ public Identifier determineImplicitName(LocalMetadataBuildingContext context) {
10431043
}
10441044

10451045
rootEntityDescriptor.setVersion( prop );
1046+
rootEntityDescriptor.setDeclaredVersion( prop );
10461047
rootEntityDescriptor.addProperty( prop );
10471048
}
10481049

0 commit comments

Comments
 (0)