@@ -73,8 +73,8 @@ public interface StatelessSession extends SharedSessionContract {
73
73
* Insert a record.
74
74
* <p>
75
75
* If the entity {@code @Id} field is declared to be generated,
76
- * for example, if it is annotated {@code @GeneratedId }, the id
77
- * is generated and assigned to the given instance.
76
+ * for example, if it is annotated {@code @GeneratedValue }, the
77
+ * id is generated and assigned to the given instance.
78
78
* <p>
79
79
* The {@link jakarta.persistence.PostPersist} callback will be
80
80
* triggered if the operation is successful.
@@ -152,8 +152,8 @@ public interface StatelessSession extends SharedSessionContract {
152
152
* On the other hand, {@code upsert()} does accept an entity
153
153
* instance with an assigned identifier value, even if the entity
154
154
* {@code @Id} field is declared to be generated, for example, if
155
- * it is annotated {@code @GeneratedId }. Thus, this method may be
156
- * used to import data from an external source.
155
+ * it is annotated {@code @GeneratedValue }. Thus, this method may
156
+ * be used to import data from an external source.
157
157
*
158
158
* @param entity a detached entity instance, or a new instance
159
159
* with an assigned identifier
0 commit comments