Skip to content
Closed
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
5 changes: 5 additions & 0 deletions dspace-api/src/main/java/org/dspace/core/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ protected void init() {
if (dbConnection == null) {
log.fatal("Cannot obtain the bean which provides a database connection. " +
"Check previous entries in the dspace.log to find why the db failed to initialize.");
} else {
if (isTransactionAlive()) {
log.debug("Initializing a context while an active transaction exists. Context with hash: {}.",
getHash());
}
}
}

Expand Down
Loading