Skip to content

Commit 3b36171

Browse files
committed
Merge branch '5.3.x'
2 parents b0e723d + 8dcb2a7 commit 3b36171

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/docs/asciidoc/data-access.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,7 @@ programming arrangements as the following listing shows:
15251525

15261526
Note that there are special considerations for the returned `Publisher` with regards to
15271527
Reactive Streams cancellation signals. See the <<tx-prog-operator-cancel>> section under
1528-
"Using the TransactionOperator" for more details.
1528+
"Using the TransactionalOperator" for more details.
15291529

15301530

15311531
[[transaction-declarative-annotations-method-visibility]]
@@ -2479,32 +2479,32 @@ different settings (for example, a different isolation level), you need to creat
24792479
two distinct `TransactionTemplate` instances.
24802480

24812481
[[tx-prog-operator]]
2482-
==== Using the `TransactionOperator`
2482+
==== Using the `TransactionalOperator`
24832483

2484-
The `TransactionOperator` follows an operator design that is similar to other reactive
2484+
The `TransactionalOperator` follows an operator design that is similar to other reactive
24852485
operators. It uses a callback approach (to free application code from having to do the
24862486
boilerplate acquisition and release transactional resources) and results in code that is
24872487
intention driven, in that your code focuses solely on what you want to do.
24882488

2489-
NOTE: As the examples that follow show, using the `TransactionOperator` absolutely
2489+
NOTE: As the examples that follow show, using the `TransactionalOperator` absolutely
24902490
couples you to Spring's transaction infrastructure and APIs. Whether or not programmatic
24912491
transaction management is suitable for your development needs is a decision that you have
24922492
to make yourself.
24932493

24942494
Application code that must run in a transactional context and that explicitly uses
2495-
the `TransactionOperator` resembles the next example:
2495+
the `TransactionalOperator` resembles the next example:
24962496

24972497
[source,java,indent=0,subs="verbatim,quotes",role="primary"]
24982498
.Java
24992499
----
25002500
public class SimpleService implements Service {
25012501
2502-
// single TransactionOperator shared amongst all methods in this instance
2502+
// single TransactionalOperator shared amongst all methods in this instance
25032503
private final TransactionalOperator transactionalOperator;
25042504
25052505
// use constructor-injection to supply the ReactiveTransactionManager
25062506
public SimpleService(ReactiveTransactionManager transactionManager) {
2507-
this.transactionOperator = TransactionalOperator.create(transactionManager);
2507+
this.transactionalOperator = TransactionalOperator.create(transactionManager);
25082508
}
25092509
25102510
public Mono<Object> someServiceMethod() {

0 commit comments

Comments
 (0)