Skip to content
Merged
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
2 changes: 2 additions & 0 deletions hibernate-core/src/main/java/org/hibernate/Transaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public interface Transaction extends EntityTransaction {
* is {@link TransactionStatus#ACTIVE} or
* {@link TransactionStatus#MARKED_ROLLBACK}
*/
@Override
default boolean isActive() {
return switch (getStatus()) {
case ACTIVE, MARKED_ROLLBACK -> true;
Expand Down Expand Up @@ -225,6 +226,7 @@ public void afterCompletion(int status) {
*
* @return the timeout, in seconds, or {@code null}
*/
@Override
@Nullable Integer getTimeout();

/**
Expand Down
Loading