HHH-11549 - Unable to locate MappedSuperclass version attribute when mixing annotations with hibernate mapping files

This commit is contained in:
Andrea Boriero 2017-03-07 10:33:52 +00:00
parent 0f20e51a5e
commit d5ac64890c
1 changed files with 1 additions and 0 deletions

View File

@ -1043,6 +1043,7 @@ public class ModelBinder {
}
rootEntityDescriptor.setVersion( prop );
rootEntityDescriptor.setDeclaredVersion( prop );
rootEntityDescriptor.addProperty( prop );
}