Spring Testing transaction rollbacks without polluting other tests using Propagation.NESTED

When writing tests, developers often use: @Test @Transactionalto make sure that the database is cleared after each...

Spring Error handling behaves differently in versions 5 and 6 for controller method returning Flux with non-String Object

Affects: both 5.3.25, 6.0.6 but differentlyI have almost the same process like described in #29038:Service returns Flux&...

Spring Technology hints in RestTemplate exception message

This question seems inappropriate for SO. The nested exceptions message utility exposes Java type information:I/O error ...

Spring sun.nio.fs.WindowsPath$WindowsPathWithAttributes error while upgrading Batch with Spring boot from 2.1.8.RELEASE to 2.6.7

Issue upgrading Spring Boot from 2.1.8.RELEASE to 2.6.7 (exception stacktrace below).The error happens when org.springfr...

Spring Database access can escape transaction when using AspectJ & TestPropertySource

Affects: \We hit an issue when using AspectJ transactions in a Kotlin application - sometimes, depending on a number of ...

Spring Unexpected @Autowired bean when newly registered bean is set as Primary

Affects: Spring 5.3.18When registering a new bean X2 of type X and marking it as the primary implementation, a previousl...

Spring Yaml global tags feature (Javabeans loaded from yaml properties) does not work

Affects: \spring-core:5.3.15spring-boot:2.6.3GreetingsIn the past, e.g. in a project that used spring-core:4.3.20, sprin...

Spring Introduce reverse methods in AOP MethodMatchers and ClassFilters

Add reverse methed in MethodMatchers and ClassFilters.Add support for MethodMatchers and ClassFilters to reverse the giv...

Spring ActiveProfile is not picked up, if customize the Environment before it starts

Affects: spring-core 5.3.18I'm tried to set active profile by customizing the Environmvent.Created simple spring-boot ap...

Spring TransactionAwareDataSourceProxy causing connection leaks

I'm testing a app which consist of hibernate and legacy jdbc is used together. I have a some spring testng test cases wh...

Spring OncePerRequestFilter gets hit over and over when batching using a FORWARD

So as you know, the diff between a FORWARD and REDIRECT is that REDIRECT reissues the request and does a round robin out...

Spring Support populating Spring properties from JUnit 5 extension

When writing a test with Testcontainers and Spring, the pattern is to use @DynamicPropertySource to register the contain...

Spring Indefinitely growing number of new threads for @Async @EventListener

Affects: Spring - 5.3.24 Affects: Spring boot - 2.7.6I am using spring events to communicate between modules. I want t...

Spring Lookup method injection does not perform collection lookup

When using lookup method injection, collections do not work as they do for other injection points (e.g. constructor, set...

Spring Javadoc for BeanPropertyRowMapper.getColumnValue(ResultSet, int, Class) is inconsistent with code

Affects: BeanPropertyRowMapper spring-jdbc v5.3.22the Doc says: The default implementation delegates to #getColumnValue(...

Spring Isolation level problem

Good Morning!I am having an interesting problem running some integration tests in my local that maybe is something that ...

Spring Using BeanFactory property values causes bean to be initialized in wrong order without applying BeanPostProcessor

Affects:spring: 5.3.22spring-boot: 2.7.3Under some circumstances using BeanFactory property values causes bean to be ini...

Spring Allow custom observation convention for RestClient

The PR adds the possibility to use a custom ObservationConvention in the RestClient, and to set it through its builder.O...

Spring BeanDefinitionOverrideException not thrown as expected

environment: spring boot 2.6.10define a demo app with following configuration class:@Configurationpublic class DemoConfi...

Spring about method #getSingleton(String beanName, boolean allowEarlyReference) since tag v5.2.9.RELEASE

Environment: Spring v5.2.9.RELEASEClass: DefaultSingletonBeanRegistry.javaMethod: getSingleton(String beanName, boolean ...
上一页 下一页
.