What’s the difference between a transient and non-transient exception?


Subclasses of SQLException have two types, transient and non-transient. Transient exceptions are those that when retried could succeed without changing anything. Non-transient exceptions are those that will fail again on retry until the underlying cause of the problem is corrected.