Browse Source

Merge branch '6.0.x'

pull/31006/head
Juergen Hoeller 2 years ago
parent
commit
6090eb0b42
  1. 19
      framework-docs/modules/ROOT/pages/data-access/transaction.adoc
  2. 3
      spring-tx/src/main/java/org/springframework/transaction/ReactiveTransaction.java

19
framework-docs/modules/ROOT/pages/data-access/transaction.adoc

@ -12,19 +12,16 @@ management that delivers the following benefits: @@ -12,19 +12,16 @@ management that delivers the following benefits:
than complex transaction APIs, such as JTA.
* Excellent integration with Spring's data access abstractions.
The following sections describe the Spring Framework's transaction features and
technologies:
The following sections describe the Spring Framework's transaction features and technologies:
* xref:data-access/transaction/motivation.adoc[Advantages of the Spring Framework's transaction support model]
describes why you would use the Spring Framework's transaction abstraction
instead of EJB Container-Managed Transactions (CMT) or choosing to drive local
transactions through a proprietary API, such as Hibernate.
* xref:data-access/transaction/motivation.adoc[Advantages of the Spring Framework's transaction support model]
describes why you would use the Spring Framework's transaction abstraction instead of EJB
Container-Managed Transactions (CMT) or choosing to drive transactions through a proprietary API.
* xref:data-access/transaction/strategies.adoc[Understanding the Spring Framework transaction abstraction]
outlines the core classes and describes how to configure and obtain `DataSource`
instances from a variety of sources.
* xref:data-access/transaction/tx-resource-synchronization.adoc[Synchronizing resources with transactions] describes
how the application code ensures that resources are created, reused, and cleaned up
properly.
outlines the core classes and describes how to configure and obtain `DataSource` instances
from a variety of sources.
* xref:data-access/transaction/tx-resource-synchronization.adoc[Synchronizing resources with transactions]
describes how the application code ensures that resources are created, reused, and cleaned up properly.
* xref:data-access/transaction/declarative.adoc[Declarative transaction management] describes support for
declarative transaction management.
* xref:data-access/transaction/programmatic.adoc[Programmatic transaction management] covers support for

3
spring-tx/src/main/java/org/springframework/transaction/ReactiveTransaction.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -30,6 +30,7 @@ package org.springframework.transaction; @@ -30,6 +30,7 @@ package org.springframework.transaction;
* @since 5.2
* @see #setRollbackOnly()
* @see ReactiveTransactionManager#getReactiveTransaction
* @see org.springframework.transaction.reactive.TransactionCallback#doInTransaction
*/
public interface ReactiveTransaction extends TransactionExecution {

Loading…
Cancel
Save