| Modifier and Type | Method and Description |
|---|---|
| public default void | invalidate()
Deprecated
(since 5.2) as part of effort to consolidate support for JPA and Hibernate SessionFactory, Session, etc
natively, support for local Transaction delegates to remain "valid" after they are committed or rolled-back (and to a
degree after the owning Session is closed) to more closely comply with the JPA spec natively in terms
of allowing that extended access after Session is closed.
Invalidates a transaction handle.
|
| public boolean | Returns: boolean indicating whether transaction is in progresswhether to consider isMarkedRollbackConsideredActive)TransactionStatus#MARKED_ROLLBACK as active.Indicate whether a resource transaction is in progress. |
| invalidate | back to summary |
|---|---|
| public default void invalidate()
Deprecated (since 5.2) as part of effort to consolidate support for JPA and Hibernate SessionFactory, Session, etc natively, support for local Transaction delegates to remain "valid" after they are committed or rolled-back (and to a degree after the owning Session is closed) to more closely comply with the JPA spec natively in terms of allowing that extended access after Session is closed. Hibernate impls have all been changed to no-op here. Invalidates a transaction handle. This might happen, e.g., when:
| |
| isActive | back to summary |
|---|---|
| public boolean isActive(boolean isMarkedRollbackConsideredActive) Indicate whether a resource transaction is in progress.
| |