In EngineDataAccessDB.recordEventArrive() and EngineDataAccessDB.recordEventWait(), Instead of assuming that any SQLException is due to an already-existing row with the same EVENT_NAME, we should specifically catch SQLIntegrityConstraintViolationException and let other SQLExceptions propagate.
In
EngineDataAccessDB.recordEventArrive()
andEngineDataAccessDB.recordEventWait()
, Instead of assuming that any SQLException is due to an already-existing row with the same EVENT_NAME, we should specifically catch SQLIntegrityConstraintViolationException and let other SQLExceptions propagate.