javax.persistence
public class: OptimisticLockException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.OptimisticLockException
All Implemented Interfaces:
Serializable
Thrown by the persistence provider when an optimistic locking conflict occurs.
This exception may be thrown as part of an API call, a flush or at commit time.
The current transaction, if one is active, will be marked for rollback.
- author:
Emmanuel - Bernard
| Method from javax.persistence.OptimisticLockException Summary: |
|---|
|
getEntity |
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Method from javax.persistence.OptimisticLockException Detail: |
public Object getEntity() {
return entity;
}
|