From 80e54a5937fa366c10013e663b494f38b8666913 Mon Sep 17 00:00:00 2001 From: Davide D'Alto Date: Fri, 22 Mar 2024 10:30:11 +0100 Subject: [PATCH] HHH-17876 Minor syntax fix in comment --- .../hibernate/action/internal/EntityIdentityInsertAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/action/internal/EntityIdentityInsertAction.java b/hibernate-core/src/main/java/org/hibernate/action/internal/EntityIdentityInsertAction.java index be0869a214..e58b1ea7b4 100644 --- a/hibernate-core/src/main/java/org/hibernate/action/internal/EntityIdentityInsertAction.java +++ b/hibernate-core/src/main/java/org/hibernate/action/internal/EntityIdentityInsertAction.java @@ -99,7 +99,7 @@ public class EntityIdentityInsertAction extends AbstractEntityInsertAction { persister.processInsertGeneratedProperties( generatedId, instance, getState(), generatedValues, session ); } //need to do that here rather than in the save event listener to let - //the post insert events to have a id-filled entity when IDENTITY is used (EJB3) + //the post insert events to have an id-filled entity when IDENTITY is used (EJB3) persister.setIdentifier( instance, generatedId, session ); persistenceContext.registerInsertedKey( getPersister(), generatedId ); entityKey = session.generateEntityKey( generatedId, persister );