From 8285eba3acb96e9fd94275e444b38481df05cd21 Mon Sep 17 00:00:00 2001 From: Marco Belladelli Date: Fri, 16 Dec 2022 17:49:09 +0100 Subject: [PATCH] HHH-15900 Make SelectGenerator not extend IdentityGenerator --- .../java/org/hibernate/id/SelectGenerator.java | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java b/hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java index 31fb375114..bc0a6c0bb0 100644 --- a/hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java +++ b/hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java @@ -8,14 +8,16 @@ package org.hibernate.id; import java.util.Properties; +import org.hibernate.dialect.Dialect; import org.hibernate.generator.InDatabaseGenerator; +import org.hibernate.id.factory.spi.StandardGenerator; import org.hibernate.persister.entity.EntityPersister; import org.hibernate.service.ServiceRegistry; import org.hibernate.type.Type; /** * A generator that {@code select}s the just-{@code insert}ed row to determine the - * {@code IDENTITY} column value assigned by the database. The correct row is located + * column value assigned by the database. The correct row is located * using a unique key of the entity, either: *