Stephane Nicoll
673f83e388
Adapt to API changes in the latest reactor snapshot
2020-08-04 11:41:30 +02:00
Sam Brannen
cdc234d7db
Polish contribution
...
See gh-25446
2020-07-22 14:06:29 +02:00
XenoAmess
c547809e89
Use instanceof instead of Class#isInstance where feasible
...
Closes gh-25446
2020-07-22 14:06:29 +02:00
XenoAmess
3b12beb1b8
Simplify if-statements with instanceof checks
...
Closes gh-25449
2020-07-22 10:34:27 +02:00
XenoAmess
e71f702bb9
Use static private instead of private static for method declarations
...
Closes gh-25452
2020-07-21 18:26:28 +02:00
Juergen Hoeller
7e71749e34
Merge branch '5.2.x'
2020-06-23 23:26:52 +02:00
Juergen Hoeller
b0cabb29f3
Polishing
2020-06-23 23:20:45 +02:00
Juergen Hoeller
3a653bd35f
Deprecate JCA CCI support
...
Closes gh-25287
2020-06-19 19:19:14 +02:00
Juergen Hoeller
7f79a373c3
Merge branch '5.2.x'
...
# Conflicts:
# build.gradle
2020-06-17 15:42:18 +02:00
Juergen Hoeller
a08bf8c063
Avoid misleading log message for commit-triggering exception
...
Closes gh-25253
2020-06-17 15:39:41 +02:00
Mark Paluch
217b6e37a6
Rollback reactive transaction on cancel
...
This commit introduces a change in reactive transaction semantics for
cancel signals. Canceling a subscription now rolls back a reactive transaction
to achieve a deterministic transaction outcome.
Previously, cancel signals committed a transaction which could
cause partially committed transactions depending on when the cancel happened.
2020-06-17 15:04:54 +02:00
Juergen Hoeller
17cab9660c
Deprecate TransactionSynchronizationAdapter
...
Closes gh-21725
2020-06-17 11:02:31 +02:00
Сергей Цыпанов
7949937655
Remove redundant assignment of default values to volatile fields
2020-06-17 10:50:51 +02:00
Juergen Hoeller
663f2e8afd
Merge branch '5.2.x'
2020-06-10 22:53:06 +02:00
Juergen Hoeller
ae1ed9d458
Document exception handling limitations in TaskDecorator implementations
...
Closes gh-25231
2020-06-10 22:52:01 +02:00
Rossen Stoyanchev
150fe96a98
Merge branch '5.2.x'
2020-06-08 17:44:42 +01:00
Rossen Stoyanchev
9e1121fd8d
Document behavior on reactive tx cancellation
...
Closes gh-25091
2020-06-08 17:43:52 +01:00
Juergen Hoeller
e955e52f2f
Refactor method name dispatching to switch statements
...
Closes gh-25163
2020-05-29 23:07:25 +02:00
Juergen Hoeller
42ff01b5aa
Merge branch '5.2.x'
2020-05-29 15:57:32 +02:00
Juergen Hoeller
cd4ef6f781
Consistently refer to FlushMode.MANUAL instead of outdated NEVER
...
Closes gh-25158
2020-05-29 15:51:54 +02:00
Juergen Hoeller
929244215c
Merge branch '5.2.x'
...
# Conflicts:
# build.gradle
2020-05-26 23:37:53 +02:00
Juergen Hoeller
1dea55dc20
WebSphereUowTransactionManager sets timeout for actual transaction only
...
Closes gh-25132
2020-05-26 23:34:36 +02:00
Juergen Hoeller
3c1ee64b7f
Explicit nullability declarations for all AOP Alliance methods
...
Includes consistent declarations in AOP Alliance related Spring AOP code.
Closes gh-24117
2020-05-13 23:33:47 +02:00
Sam Brannen
a16d178d72
Polish Javadoc for NameMatchTransactionAttributeSource
2020-05-13 13:29:07 +02:00
Juergen Hoeller
dd0d0d51f6
Introduce resolvable timeout attribute on @Transactional and <tx:method>
...
Placeholders get resolved in timeoutString, qualifier and labels now.
Closes gh-25052
2020-05-12 21:55:22 +02:00
Sam Brannen
65acda8d3e
Polishing
2020-05-11 12:26:13 +02:00
Sam Brannen
3f30dcae80
Merge branch '5.2.x'
2020-05-10 15:44:57 +02:00
Yanming Zhou
50a4fdac6e
Use Map::computeIfAbsent to simplify scope implementations
...
Closes gh-25038
2020-05-10 15:41:00 +02:00
Sam Brannen
2dc9020f80
Merge branch '5.2.x'
2020-05-09 13:57:41 +02:00
Sam Brannen
f5d011cb82
Filter reactive tx managers in TransactionAttributeSourceClassFilter
...
Prior to this commit, the TransactionAttributeSourceClassFilter
filtered out PlatformTransactionManager but not
ReactiveTransactionManager implementations.
TransactionAttributeSourceClassFilter now filters out any
TransactionManager implementation, covering both imperative and
reactive transaction managers.
2020-05-09 13:57:03 +02:00
Sam Brannen
8f7debc769
Merge branch '5.2.x'
2020-05-08 19:26:00 +02:00
Sam Brannen
0f22a5e409
Update Javadoc regarding reactive tx mgmt support
...
See gh-25030
2020-05-08 19:25:22 +02:00
Mark Paluch
2aa8aef216
Extend transaction attributes with labels
...
TransactionAttribute now exposes a labels attribute that associates a
descriptive array of labels with a transaction.
Labels may be of a pure descriptive nature or may get evaluated by
transaction managers to associate technology-specific behavior
with the actual transaction.
2020-05-06 16:28:21 +02:00
Sam Brannen
1d0c5195bc
Polish Javadoc for TransactionManagementConfigurer
2020-04-06 15:31:48 +02:00
Sam Brannen
e26764d249
Remove duplicate words in documentation and polish Javadoc
2020-03-31 12:17:58 +02:00
Qimiao Chen
70581d1ea2
Improve javadoc in RollbackRuleAttribute regarding nested classes
...
Closes gh-24682
Co-authored-by: Sam Brannen <sbrannen@pivotal.io >
2020-03-15 12:06:16 +01:00
Juergen Hoeller
193f419520
Deprecate PTM-based constructors in favor of generic TransactionManager
...
Closes gh-24612
2020-03-11 14:52:03 +01:00
Rossen Stoyanchev
adc13f2030
Polishing contribution
...
See gh-24493
2020-02-20 17:58:47 +00:00
陈其苗
a09f02f64e
Minor refactoring in AbstractPlatformTransactionManager
...
See gh-24493
2020-02-20 17:33:18 +00:00
Juergen Hoeller
d1c7083e77
Consistent ROLE_INFRASTRUCTURE declarations for configuration classes
...
Closes gh-24509
2020-02-12 16:49:02 +01:00
Michael Simons
711fafc924
Improve assertion message in PersistenceExceptionTranslationInterceptor
...
Closes gh-24484
2020-02-06 15:41:33 +01:00
Juergen Hoeller
a4f75e9c6a
Polishing
2019-12-09 13:29:00 +01:00
Sam Brannen
9f00eb68e9
Clean up warnings
2019-10-30 19:14:58 +01:00
Juergen Hoeller
43a86565ca
Consider target transaction manager for reactive transaction decision
...
Closes gh-23832
2019-10-30 16:23:37 +01:00
Andreas Killaitis
f838590300
Commit on cancelled subscription in TransactionalOperator::transactional
...
Prior to this commit, TransactionalOperator::transactional did not close
the transaction when cancelled.
Closes gh-23864
2019-10-25 14:48:46 +02:00
Sebastien Deleuze
b24ac74106
Restore TransactionOperations Kotlin API compatibilty
...
This commit renames the Runnable variant to executeWithoutResult
and uses a Consumer<TransactionStatus> parameter for better
consistency with TransactionCallbackWithoutResult.
Closes gh-23724
2019-09-29 19:31:12 +02:00
Juergen Hoeller
2861fc65bd
Polishing
2019-09-27 10:17:56 +02:00
Juergen Hoeller
a48c13ae73
Avoid deprecated usingWhen method in Reactor 3.3
...
Closes gh-23562
2019-09-20 21:54:18 +02:00
Mark Paluch
393a81d4a9
Omit cancellation of transactional Monos in TransactionOperator
...
TransactionOperator.as(Mono) now no longer short-cuts via a Flux.next() but provides an implementation via Mono.usingWhen(…).
The short-cut previously issued a cancellation signal to the transactional Mono causing the transaction cleanup to happen without a handle for synchronization.
Using Mono.usingWhen(…) initiates transaction cleanup when the Mono completes eliminating the need for cancellation of the transactional Publisher.
This change does not fully fix gh-23304 but it softens its impact because TransactionalOperator.transactional(Mono) avoids cancellation.
2019-09-20 20:48:39 +02:00
康智冬
0d742cf3d0
Fix typos related to indefinite articles for SQL acronym
...
Closes gh-23603
2019-09-07 16:04:47 +02:00