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 847faf866b..2ebd0e7ad0 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 @@ -212,7 +212,7 @@ public class EntityIdentityInsertAction extends AbstractEntityInsertAction { return generatedId; } - protected void setGeneratedId(Serializable generatedId) { + protected void setGeneratedId(Object generatedId) { this.generatedId = generatedId; }