When it is associated with a session.
When it is associated with a transaction.
When the transaction is committed.
When the session is flushed.
It is persistent from the moment of creation.
When the session is closed.
When the identifier is generated and assigned to the object.
|