diff --git a/hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityVersionMappingImpl.java b/hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityVersionMappingImpl.java index 59465c4c4f..95d7a7d8d5 100644 --- a/hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityVersionMappingImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityVersionMappingImpl.java @@ -58,8 +58,6 @@ public class EntityVersionMappingImpl implements EntityVersionMapping, FetchOpti private final VersionValue unsavedValueStrategy; - private BasicAttributeMapping attributeMapping; - public EntityVersionMappingImpl( RootClass bootEntityDescriptor, Supplier templateInstanceAccess, @@ -72,8 +70,7 @@ public class EntityVersionMappingImpl implements EntityVersionMapping, FetchOpti Integer scale, Integer temporalPrecision, BasicType versionBasicType, - EntityMappingType declaringType, - MappingModelCreationProcess creationProcess) { + EntityMappingType declaringType) { this.attributeName = attributeName; this.columnDefinition = columnDefinition; this.length = length; diff --git a/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java b/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java index 66a74b1281..644d6051e9 100644 --- a/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java +++ b/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java @@ -5284,8 +5284,7 @@ public abstract class AbstractEntityPersister column.getScale(), column.getTemporalPrecision(), basicTypeResolution.getLegacyResolvedBasicType(), - entityPersister, - creationProcess + entityPersister ); }