You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`org.hibernate.Session` also has a method named persist which follows the exact semantics defined in the Jakarta Persistence specification for the persist method.
64
64
It is this `org.hibernate.Session` method to which the Hibernate `jakarta.persistence.EntityManager` implementation delegates.
65
65
66
-
If the `DomesticCat` entity type has a generated identifier, the value is associated with the instance when the save or persist is called.
67
-
If the identifier is not automatically generated, the manually assigned (usually natural) key value has to be set on the instance before the save or persist methods are called.
66
+
Instances of entity types using <<identifiers-generators,generated identifiers>> will be automatically associated with
67
+
an identifier value when the save or persist operation is called.
68
+
If an entity type does not rely on a <<identifiers-generators,generated id>>, then an identifier value
69
+
(usually natural) must be manually assigned to the entity instance before the save or persist operations can be called.
0 commit comments