spring-framework
spring-framework copied to clipboard
Spring Framework
The problem is when controller extends base generic abstract class and implements interface with `@RequestMapping` it has mapped only those methods which signature have pure generic type. Other methods mapped...
This method is used to customize some code fragments and is a bit mouthful. It would be nice to revisit the API and provide something more straightforward.
Spring version 6.0.0-M5 Exception mapping fails with `java.lang.NoSuchMethodError` ``` Caused by: java.lang.NoSuchMethodError: 'java.io.Serializable org.hibernate.StaleObjectStateException.getIdentifier()' at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:304) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:232) ``` In Hibernate 5 the method had the following signature: `java.io.Serializable org.hibernate.StaleObjectStateException.getIdentifier()`...
The problem arose when I used shedlock-spring's @SchedulerLock annotation in a bean that autowires a reference to itself. The code (roughly) looked like this: ``` @Service public class Service {...
Add reverse methed in MethodMatchers and ClassFilters. Add support for MethodMatchers and ClassFilters to reverse the given MethodMatcher and ClassFilter. It is convenient in some complex conditions,Or is there another...
## Overview When a failure occurs while loading an `ApplicationContext` in the Spring TestContext Framework, it would be useful to have a first-class SPI for processing the exception. For example,...
For the cases when constructor has no args we could have fast-paths which is likely to improve start-up time as BeanUtils.instantiateClass is called at least once for each bean instantiation...
Add `NamedParameterJdbcTemplate#batchUpdate` methods taking `KeyHolder` and `String[] keyColumnNames` as counterparts to the `NamedParameterJdbcTemplate#update` methods of the same form. This is in service of an enhancement to [`spring-data-jdbc`](https://github.com/spring-projects/spring-data-relational/pull/1191) to perform batch...
**[Tomasz Nurkiewicz](https://jira.spring.io/secure/ViewProfile.jspa?name=nurkiewicz)** opened **[SPR-8767](https://jira.spring.io/browse/SPR-8767?redirect=false)** and commented Spring should provide a way (possibly a `BeanFactory` with a different `ConfigurableListableBeanFactory#preInstantiateSingletons` implementation) to initialize singleton non-lazy beans on startup in parallel using a...
Spring Boot version: 2.5.5 Spring core version: 5.3.10 When trying to inject collection with generic type, some beans are not injected. - All beans are proxied by interface - Bean...