spring-framework
spring-framework copied to clipboard
Spring Framework
The current reference documentation shows XML configuration as the primary configuration style in some sections. While XML is still supported, it has not been the mainstream choice for more than...
- Unified single bean initialization methods into initSingleBean, removing duplicate logic. - Consolidated list bean initialization methods into initListBeans, streamlining flag handling and default strategy.
I try to extend `AbstractHttpMessageConverter` and my return type is a `List`. I'd like to have different converters depending on the object type of my list (Generic typing). Super class:...
I'm trying to apply the new `FullyQualifiedConfigurationBeanNameGenerator` introduced in 7.0 (see #33448) through `@ComponentScan(nameGenerator = FullyQualifiedConfigurationBeanNameGenerator.class)`, because I want its naming logic to not apply globally, but only for beans...
This is a work in progress attempt to implement #22311 . This is my first time contributing, and I did my best to copy the style of existing tests. I...
We don't really have an API to express that something has to be enabled. For instance, Spring Data repositories may require some information about the data store. It could be...
A PetClinic user noticed this (https://github.com/spring-projects/spring-petclinic/issues/1732). For me it's a 2x throughput degradation on the home page of PetClinic, for the user that reported the issue it was 4x. The...
Following up on #35633, the `UserTransaction` read-only semantics are still in discussion. If they turn out to be stricter than Spring's read-only hint, we should only apply them when configured...
given the core [Resilience Features](https://docs.spring.io/spring/reference/7.0/core/resilience.html) supersede spring-retry, is there a replacement for the spring-retry [`@Recover`](https://docs.spring.io/spring-retry/docs/2.0.12/apidocs/org/springframework/retry/annotation/Recover.html) functionality? ref. https://github.com/spring-projects/spring-retry?tab=readme-ov-file#declarative-example ```java @Retryable(retryFor = RemoteAccessException.class) public void service() { // ... do something...
Spring boot version is 4.0.0. when spring build to native image with java 25.r25-nik the repository like this ```java interface UserRepository : JpaRepository { @Query("select u from User u where...