Polishing `EntityVersionMappingImpl`
1. remove unused field `BasicAttributeMapping attributeMapping` 2. remove unused constructor parameter `MappingModelCreationProcess creationProcess`
This commit is contained in:
parent
7c30bbed2b
commit
b870214ce9
|
@ -58,8 +58,6 @@ public class EntityVersionMappingImpl implements EntityVersionMapping, FetchOpti
|
||||||
|
|
||||||
private final VersionValue unsavedValueStrategy;
|
private final VersionValue unsavedValueStrategy;
|
||||||
|
|
||||||
private BasicAttributeMapping attributeMapping;
|
|
||||||
|
|
||||||
public EntityVersionMappingImpl(
|
public EntityVersionMappingImpl(
|
||||||
RootClass bootEntityDescriptor,
|
RootClass bootEntityDescriptor,
|
||||||
Supplier<?> templateInstanceAccess,
|
Supplier<?> templateInstanceAccess,
|
||||||
|
@ -72,8 +70,7 @@ public class EntityVersionMappingImpl implements EntityVersionMapping, FetchOpti
|
||||||
Integer scale,
|
Integer scale,
|
||||||
Integer temporalPrecision,
|
Integer temporalPrecision,
|
||||||
BasicType<?> versionBasicType,
|
BasicType<?> versionBasicType,
|
||||||
EntityMappingType declaringType,
|
EntityMappingType declaringType) {
|
||||||
MappingModelCreationProcess creationProcess) {
|
|
||||||
this.attributeName = attributeName;
|
this.attributeName = attributeName;
|
||||||
this.columnDefinition = columnDefinition;
|
this.columnDefinition = columnDefinition;
|
||||||
this.length = length;
|
this.length = length;
|
||||||
|
|
|
@ -5284,8 +5284,7 @@ public abstract class AbstractEntityPersister
|
||||||
column.getScale(),
|
column.getScale(),
|
||||||
column.getTemporalPrecision(),
|
column.getTemporalPrecision(),
|
||||||
basicTypeResolution.getLegacyResolvedBasicType(),
|
basicTypeResolution.getLegacyResolvedBasicType(),
|
||||||
entityPersister,
|
entityPersister
|
||||||
creationProcess
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue