Class TemporaryTransactionException

All Implemented Interfaces:
Serializable

public final class TemporaryTransactionException extends RuntimeException
Signals, that a persistent operation has failed for a possibly temporary reason. Such reasons include concurrent modification of a data unit by multiple transactions. You may want to recover from this exception by rolling back the current transaction and trying to do it again. It is not guaranteed, that the problem will go away, so never retry indefinitely.
See Also: