ist. Thrown when
 <a href="EntityManager.html#refresh(java.lang.Object)"><code>EntityManager.refresh</code></a> is called and the
 object no longer exists in the database. 
 Thrown when <a href="EntityManager.html#lock(java.lang.Object,jakarta.persistence.LockModeType)"><code>EntityManager.lock</code></a> is used with
 pessimistic locking is used and the entity no longer exists in the database.
 <p> The current transaction, if one is active and the persistence context
 has been joined to it, will be marked 