fix typo in SS jdoc

This commit is contained in:
Gavin King 2024-10-18 17:03:53 +02:00
parent b1795a6f67
commit 67816c57e3
1 changed files with 4 additions and 4 deletions

View File

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