spring-framework
spring-framework copied to clipboard
Spring Framework
Hi ! ## situation In a multi-transaction manager environment, when `@Transactional` annotations from different transaction managers are nested, the attributes of TransactionSynchronizationManager do not align with the current transaction if...
In my application spring boot webflux application I have an upload use case which requires the upload of 1 and more empty files. The upload endpoint is pretty simple in...
There have been several requests for retry functionality at the core Spring Framework level, along the lines of the separate [Spring Retry](https://github.com/spring-projects/spring-retry) project. The 7.0 release seems like a good...
I believe that it's generally recommended for a `BeanPostProcessor` that's defined as a `@Bean` to use a `static` method and for the method to, ideally, have no dependencies. The goal...
`JdbcOperations.query(String, ResultSetExtractor)` is currently declared as `@Nullable`. Tweaking the declaration to: ```java T query(String sql, ResultSetExtractor rse) throws DataAccessException; ``` would allow the tooling to deduce the nullability of `T`...
## The Problem Using Springframework v6.2.6 (not spring boot) and Tomcat v11.0.6 (not embedded) I cannot use the `ShallowEtagHeaderFiler` on a resource that is internally forwarded. I have several url...
I have seen a case where NULL argument is passed explicitly in the function call but it is taking default value instead. Below are the function signatures. ``` @Repository open...
Minimal example reproducing the problem: https://github.com/klach-ocado/enablescheduling-configurationphase-issue * `AaaUnrelatedAutoConfiguration` is where `@EnableScheduling` annotation was added, or (another case, when `@EnableScheduling` was already there) where existing conditions were collapsed to a single...
Here is a simple code sample: ```java @Configuration(proxyBeanMethods = false) public class FooAutoConfiguration { @ConditionalOnBean(FooProperties.class) @ConditionalOnMissingBean @Bean public FooService fooService(FooProperties fooProperties) { return new FooService(); } } ``` pom.xml ```...
Given ```java // Expression exp = EXPRESSION_PARSER.parseExpression("#${dynamic.enabled:false} == true ? T(com.util.ValidationAnnotationUtils) : T(java.lang.Object)"); // Expression exp = EXPRESSION_PARSER.parseExpression("#{ '${dynamic.enabled:false}' }"); Expression exp = EXPRESSION_PARSER.parseExpression("#{${simple.map}}"); ``` Got ``` Exception in thread...