We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7704e76 commit 73e53d7Copy full SHA for 73e53d7
hibernate-core/src/main/java/org/hibernate/Transaction.java
@@ -70,6 +70,7 @@ public interface Transaction extends EntityTransaction {
70
* is {@link TransactionStatus#ACTIVE} or
71
* {@link TransactionStatus#MARKED_ROLLBACK}
72
*/
73
+ @Override
74
default boolean isActive() {
75
return switch (getStatus()) {
76
case ACTIVE, MARKED_ROLLBACK -> true;
@@ -225,6 +226,7 @@ public void afterCompletion(int status) {
225
226
*
227
* @return the timeout, in seconds, or {@code null}
228
229
230
@Nullable Integer getTimeout();
231
232
/**
0 commit comments