spring-framework
spring-framework copied to clipboard
Spring Framework
Repository that reproducing the error - https://github.com/ssserj/spring-demo I did not check the app on previous versions spring boot, but here is a typical example of using Prototype Bean: ``` @Service...
**What was done** - Removed unnecessary duplicate if conditions in the codebase. - Ensured that no existing functionality was affected by the changes.
Several years ago we migrated from JUnit 4 based parameterized test classes to standard JUnit Jupiter based test classes with `@ParameterizedTest` methods. However, the only reason we did that is...
### Affected versions Spring Boot `3.5.5` and `4.0.0-M2` ### Environment Java 21 Windows 11 and Linux ### Summary In a Spring Boot application with observation enabled, a `@Scheduled` method logs...
Fix GH-34687
# Optimize parameter matching in TableMetaDataContext ## Problem The `TableMetaDataContext.matchInParameterValuesWithInsertColumns()` method uses a nested loop for case-insensitive parameter matching, resulting in O(n×m) complexity where n = columns and m =...
I am spiking on a few ideas around `org.junit.jupiter.api.extension.ParameterResolver` that requires access to the `ApplicationContext`. Since Spring Framework has support for `@Autowired`, I thought that looking at the code would...
It appears that the support for `@Retryable` is not complete. The `RetryListener` API is defined but is not actually used in conjunction with `@Retryable`. A new instance of `RetryTemplate` is...
I might be missing something fundamental but I have use cases where I have multiple beans implementing a type (interface) but I want to use a mock for the type...
Since we introduced `@Retryable`, we have received questions regarding how `@Retryable` works when combined with other proxy-based features. We should therefore document (and test) the semantics for the combination of...