fix misleading parameter name
This commit is contained in:
parent
b4277119a0
commit
903d71ed2d
|
@ -38,7 +38,7 @@ public class UuidGenerator implements BeforeExecutionGenerator {
|
||||||
|
|
||||||
public UuidGenerator(
|
public UuidGenerator(
|
||||||
org.hibernate.annotations.UuidGenerator config,
|
org.hibernate.annotations.UuidGenerator config,
|
||||||
Member idMember,
|
Member member,
|
||||||
CustomIdGeneratorCreationContext creationContext) {
|
CustomIdGeneratorCreationContext creationContext) {
|
||||||
if ( config.style() == TIME ) {
|
if ( config.style() == TIME ) {
|
||||||
generator = new CustomVersionOneStrategy();
|
generator = new CustomVersionOneStrategy();
|
||||||
|
@ -47,7 +47,7 @@ public class UuidGenerator implements BeforeExecutionGenerator {
|
||||||
generator = StandardRandomStrategy.INSTANCE;
|
generator = StandardRandomStrategy.INSTANCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
final Class<?> propertyType = getPropertyType( idMember );
|
final Class<?> propertyType = getPropertyType( member );
|
||||||
|
|
||||||
if ( UUID.class.isAssignableFrom( propertyType ) ) {
|
if ( UUID.class.isAssignableFrom( propertyType ) ) {
|
||||||
valueTransformer = UUIDJavaType.PassThroughTransformer.INSTANCE;
|
valueTransformer = UUIDJavaType.PassThroughTransformer.INSTANCE;
|
||||||
|
|
Loading…
Reference in New Issue