HHH-18139 throw an exception when assigned id is null in StatelessSession.insert()

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-05-28 22:24:56 +02:00 committed by Steve Ebersole
parent 6eb16b9806
commit 44251a0471
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ import org.hibernate.generator.Generator;
import org.hibernate.generator.values.GeneratedValues;
import org.hibernate.graph.GraphSemantic;
import org.hibernate.graph.spi.RootGraphImplementor;
import org.hibernate.id.IdentifierGenerationException;
import org.hibernate.loader.ast.spi.CascadingFetchProfile;
import org.hibernate.metamodel.mapping.PluralAttributeMapping;
import org.hibernate.persister.collection.CollectionPersister;