DefaultDeadlockDetector

A vendor-neutral DeadlockDetector, which considers every SQLException to be a deadlock. One of the vendor-specific implementations should be used if possible, which will prevent non-deadlock errors (such as unique constraint violations) from being needlessly retried.

Functions

Link copied to clipboard
open override fun isDeadlock(ex: SQLException): Boolean

Determines whether the SQLException was caused by a deadlock or not.