Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ protected Status validateSynch(final Connection connection, final String default
}
} catch (LiquibaseException e) {
throw new RuntimeException("Failed to validate database", e);
} finally {
ThreadLocalSessionContext.removeCurrentSession();
}

return Status.VALID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ public Status validate(Connection connection, String defaultSchema) {
}
} catch (LiquibaseException e) {
throw new RuntimeException("Failed to validate database", e);
} finally {
ThreadLocalSessionContext.removeCurrentSession();
}

return Status.VALID;
Expand Down
Loading