spring-framework
spring-framework copied to clipboard
Spring Framework
Due to the switch to using `SQLExceptionSubclassTranslator` instead of `SQLErrorCodeSQLExceptionTranslator` by default, we need to update the [Upgrading to Spring Framework 6.x](https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-6.x) wiki page in order to inform uesrs. See...
Here is the current implementation of NettyDataBuffer.retainedSlice: https://github.com/spring-projects/spring-framework/blob/a41f97bc2bd547dbb635f032413fe586968912f8/spring-core/src/main/java/org/springframework/core/io/buffer/NettyDataBuffer.java#L265-L269 The above version of NettyDataBuffer.retainedSlice will fail to release the slice returned by this.byteBuf.retainedSlice if this.byteBuf.retainedSlice succeeds but allocation of the new...
Improved performance for `ProtobufHttpMessageConverter` Currently, when a binary message in the form of ProtoBuf is received, data is created using the Builder via `ProtobufHttpMessageConverter`. When Protobuf creating individual `com.google.protobuf.Message`. it...
Having a simple Kotlin Spring Boot application ([link](https://start.spring.io/#!type=gradle-project&language=kotlin&platformVersion=3.0.0-RC2&packaging=jar&jvmVersion=17&groupId=com.example&artifactId=demo&name=demo&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&dependencies=native,web)), importing any auto-configuration with a non-bean method (e.g. a private auxiliary method) throws `ClassNotFoundException`: ```kotlin @SpringBootApplication(proxyBeanMethods = false) // @ImportAutoConfiguration(MyJavaConfiguration::class) @ImportAutoConfiguration(MyKotlinConfiguration::class) @ImportRuntimeHints(NativeRuntimeHints::class)...
**Affects:** spring-core 5.3.18 I'm tried to set active profile by customizing the Environmvent. Created simple spring-boot application 2.6.6 as below. ``` @SpringBootApplication public class Spring5318activeprofileApplication { public static void main(String[]...
Allow for example to remove those classes and 90 related methods when Logback is used: - `org.apache.commons.logging.LogAdapter$JavaUtilAdapter - `org.apache.commons.logging.LogAdapter$JavaUtilLog` - `org.apache.commons.logging.LogAdapter$LocationResolvingLogRecord` - `org.apache.commons.logging.LogAdapter$Log4jAdapter` - `org.apache.commons.logging.LogAdapter$Log4jLog` - `org.apache.commons.logging.LogAdapter$LogApi` - `org.apache.logging.log4j.message.ObjectMessage` -...
**Affects:** 6.0.0 --- I have a simple controller that goes like ```java @PostMapping public ResponseEntity insert( @RequestBody @Valid CustomerApiDTO customerDTO) { var customerEntity = customerMapper.map(customerDTO); customerRepository.saveAndFlush(customerEntity); var uri = MvcUriComponentsBuilder.fromMethodCall(...
`DefaultParameterNameDiscoverer` should be updated to not use `LocalVariableTableParameterNameDiscoverer` when running as a native image.
**Affects:** 5.2.16 [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303) says that 303 usually used for PUT or POST request. Why not use 302 here?