spring-framework
spring-framework copied to clipboard
Spring Framework
On a standard MockMvc setup, you can register `ResultHandler` instances on the `ResultActions` via `….andDo(ResultHandler)`. Internally, the handler gets called with the `MvcResult` instance obtained through the request execution. This...
The HSQLDB JDBC Driver (starting at 2.0) will return `true` when queried for `getGeneratedKeys` support at https://github.com/spring-projects/spring-framework/blob/e7402bc365acdbbbbb8c9aa6f0502cdd8f0f6f85/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/GenericTableMetaDataProvider.java#L96-L98 However, all versions of HSQLDB are explicitly blocked from specifying column names to...
hello ## Use Case Predictable retry intervals in microservices can lead to server overload during peak failures. Randomizing these intervals can mitigate such issues. ## Current Solution The existing `ExponentialBackOff`...
Hello, this is the same issue with https://github.com/spring-projects/spring-framework/issues/24842. Open another one since I can not reopen it because this issue has not been fixed eventually. It still happens occasionally when...
I noticed a difference in behaviour when using recently added SqlBinaryValue instead of SqlLobValue: array is of type byte[] `new SqlParameterValue(Types.BLOB, new SqlLobValue(array)` used to work with postgres, but `new...
I suggest adding support for `CompletableFuture` and `CompletionStage` as a valid return type for methods in Spring client interfaces backed by `RestClient` and `RestClientAdapter`. It would be great to provide...
Update `SpringFactoriesLoader` so that the cache stores only the factories and not the complete loader. Prior to this commit, if a cache entry was added with the thread conect classloader,...
AdapterFinderBean and AdapterFinderInterceptor allow for similar functionality to ServiceLocatorFactoryBean but without the call from the client to find the appropriate service bean for each call. This crosscutting concern can be...
The client continues to block despite the receiving server having closed the connection already. Reproduced on Spring Boot version 3.4.4 Works with 3.3.10, likely because that doesn't use `io.projectreactor.netty:reactor-netty-http`. Sample...