Sam Brannen
5a87f555f8
Update copyright headers
2 years ago
Sam Brannen
e42902b742
Stop referring to JDO and outdated JDBC versions in documentation
...
Closes gh-31183
2 years ago
Philippe Marschall
fd18c00e50
Optimize for single TransactionSynchronization
...
Optimize TransactionSynchronizationManager.getSynchronizations() to
avoid sorting and ArrayList creation in case of a single
TransactionSynchronization.
See gh-27335
2 years ago
Sébastien Deleuze
c8169e5cad
Add Coroutines support to Spring AOP
...
This commit adds support for Kotlin Coroutines to Spring AOP
by leveraging CoroutinesUtils#invokeSuspendingFunction in
AopUtils#invokeJoinpointUsingReflection to convert it to the
equivalent Publisher return value, like in other parts of Spring
Framework.
That allows method interceptors with Reactive support to process
related return values.
CglibAopProxy#processReturnType and JdkDynamicAopProxy#invoke
take care of the conversion from the Publisher return value
to Kotlin Coroutines.
Reactive transactional and HTTP service interface support
have been refined to leverage those new generic capabilities.
Closes gh-22462
2 years ago
Johnny Lim
112f755e17
Use IllegalStateException in ReactiveTestTransactionManager.doCommit()
...
See gh-30107
2 years ago
Sam Brannen
9efa99e0d8
Update link to "Method visibility and @Transactional in proxy mode"
...
See gh-31057
See gh-25582
2 years ago
Juergen Hoeller
2ce75dc415
Polishing
2 years ago
Juergen Hoeller
6baa60d454
Polishing
2 years ago
Juergen Hoeller
92410395e3
Remove outdated documentation references to WebLogic/WebSphere
...
See gh-22093
2 years ago
Juergen Hoeller
d781f299c0
Use extracted attributes instead of annotation access
...
See gh-31034
2 years ago
Juergen Hoeller
6fc4898a1b
Find TransactionalEventListener annotation on target method
...
Closes gh-31034
2 years ago
Sam Brannen
96fd3c10fb
Update copyright headers
2 years ago
Juergen Hoeller
c36174b263
Polishing
2 years ago
Juergen Hoeller
6e5af9dccb
Polishing
2 years ago
Juergen Hoeller
3253d2de89
Introduce TransactionExecutionListener with begin/commit/rollback notifications
...
Includes ConfigurableTransactionManager interface for listener registration.
Includes additional introspection methods on TransactionExecution interface.
Includes default method declarations on TransactionStatus/SmartTransactionObject.
Closes gh-27479
2 years ago
Juergen Hoeller
d250a5155a
Consistent dependency declarations
2 years ago
Juergen Hoeller
52176edcbf
Polishing
2 years ago
Juergen Hoeller
ae279eaced
Polishing
2 years ago
Juergen Hoeller
5e26786bab
Fix malformed javadoc
2 years ago
Juergen Hoeller
450cc212a2
Support for transactional listeners with reactive transactions
...
TransactionalApplicationListener and TransactionalEventListener automatically detect a reactive TransactionContext as the event source and register the synchronization accordingly. TransactionalEventPublisher is a convenient delegate for publishing corresponding events with the current TransactionContext as event source. This can also serve as a guideline for similar reactive event purposes.
Closes gh-27515
Closes gh-21025
Closes gh-30244
2 years ago
Sam Brannen
2dc4eea62f
Remove native image hints for TransactionDefinition constants
...
Closes gh-30854
2 years ago
Sam Brannen
bcff7d74cd
Replace map entry traversal with switch expression
...
See gh-30851
2 years ago
Sam Brannen
0eda44186a
Polish tests for configuration constants
...
See gh-30851
2 years ago
Juergen Hoeller
b9ba0fc572
Polishing
2 years ago
Juergen Hoeller
fdf1418dfb
Polishing
2 years ago
Sam Brannen
97810c84a2
Stop using Constants utility in AbstractPlatformTransactionManager
...
See gh-30851
2 years ago
Sam Brannen
d0076f5c14
Stop using Constants utility in DefaultTransactionDefinition
...
See gh-30851
2 years ago
Sam Brannen
c110644107
Polish TransactionSupportTests
2 years ago
Juergen Hoeller
2f33e77ab4
Consistent equals/hashCode style (and related polishing)
2 years ago
Sam Brannen
635cd29599
Remove cross reference to Constants utility
...
See gh-30851
2 years ago
Sam Brannen
63fe45d92a
Update copyright headers
2 years ago
Sam Brannen
e6d360c1c6
Polishing
2 years ago
Juergen Hoeller
0ab94478fe
Add since tags and code style refinements
...
See gh-27735
2 years ago
René Wittner
4b80b0f490
DataAccessUtils result accessors with Optional return value ( #27735 )
2 years ago
Juergen Hoeller
4152034799
Move transaction configuration check to transaction.annotation package
...
AbstractTransactionManagementConfiguration.transactionalEventListenerFactory() creating a RestrictedTransactionalEventListenerFactory now.
See gh-30679
2 years ago
Juergen Hoeller
79df1da792
Clarify ReactiveTransactionManager exception declarations
...
Avoid misleading "throws TransactionException" declarations but preserve javadoc "@throws" notes for specific exceptions (with reactive propagation semantics).
Closes gh-30817
2 years ago
Juergen Hoeller
c5771bc7c8
Discuss JdbcTransactionManager vs DataSourceTransactionManager
...
Includes doc update for 6.0 default exception translation etc.
Closes gh-30802
2 years ago
Juergen Hoeller
f1567fb21a
Raise beforeCompletion/afterCompletion exception log level to error
...
Closes gh-30776
3 years ago
Sam Brannen
39bc7566df
Stop printing to System.out in tests
3 years ago
Sébastien Deleuze
d3a249e34d
Reduce the delay used for Coroutines in tests
...
Closes gh-30731
3 years ago
Seonghoon Kim
3f65b8506b
Increase log level to error
3 years ago
Sam Brannen
9ccbeec947
Ignore null message when introspecting resource cleanup failure
...
This commit fixes a regression introduced in conjunction with gh-27572.
See gh-30597
Closes gh-30729
3 years ago
Juergen Hoeller
d881cd3346
Accept REQUIRES_NEW on non-async transactional event listeners
...
See gh-30679
3 years ago
Johnny Lim
271f2dc665
Polish
...
This commit polishes a bit.
Closes gh-30691
3 years ago
Juergen Hoeller
18c6aceee7
Consistent guard for Reactive Streams presence
...
Closes gh-30707
3 years ago
Juergen Hoeller
842569c9e5
Detect invalid transaction configuration for transactional event listeners
...
Closes gh-30679
3 years ago
Sam Brannen
4565bcd757
Update copyright headers
3 years ago
Juergen Hoeller
c16f582ed8
Consistent equals implementations in AOP support classes
3 years ago
Juergen Hoeller
6931106c5e
Redesign inner Pointcut implementations as standalone classes
...
Avoids exposure of implicit Advisor instance state in Pointcut instance.
See gh-30621
3 years ago
Juergen Hoeller
c052a02592
Ignore null message when introspecting resource cleanup failure
...
Closes gh-30597
3 years ago