LDEV-3514: Get rid of Scratchie's own transaction retry mechanism. Make Assessment aware that Leader's DB UID may not be set yet when checking. Try to recreate Hibernate session after it got closed because of an exception.
LDEV-3514: Get rid of Scratchie's own transaction retry mechanism. Make Assessment aware that Leader's DB UID may not be set yet when checking. Try to recreate Hibernate session after it got closed because of an exception.
LDEV-3514: Use pretInterceptor instead of postInterceptor. Create new transactions for service method retries.Attach activity to Hibernate session in completeActivity() method.