fix misleading parameter name

This commit is contained in:
Gavin 2023-05-18 11:26:59 +02:00 committed by Christian Beikov
parent b4277119a0
commit 903d71ed2d
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ public class UuidGenerator implements BeforeExecutionGenerator {
public UuidGenerator(
org.hibernate.annotations.UuidGenerator config,
Member idMember,
Member member,
CustomIdGeneratorCreationContext creationContext) {
if ( config.style() == TIME ) {
generator = new CustomVersionOneStrategy();
@ -47,7 +47,7 @@ public class UuidGenerator implements BeforeExecutionGenerator {
generator = StandardRandomStrategy.INSTANCE;
}
final Class<?> propertyType = getPropertyType( idMember );
final Class<?> propertyType = getPropertyType( member );
if ( UUID.class.isAssignableFrom( propertyType ) ) {
valueTransformer = UUIDJavaType.PassThroughTransformer.INSTANCE;