Happens once in a while. Running to the commode all day is no fun.
#Disabilities
#Serviceconnection
Happens once in a while. Running to the commode all day is no fun.
#Disabilities
#Serviceconnection
- Upgraded #SpringBoot to 3.4.2
- Updated Localstack configuration to use Testcontainers ServiceConnection support
github.com/sivaprasadre...
- Upgraded #SpringBoot to 3.4.2
- Updated Localstack configuration to use Testcontainers ServiceConnection support
github.com/sivaprasadre...
docs.spring.io/spring-boot/...
docs.spring.io/spring-boot/...
@DataJdbcTest
@Testcontainers
Class MyDataIntegrationTests {
@ServiceConnection
@Container
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17");
@Autowired
private MyDataRepository repository;
...
}
We've improved support so that your test setup is more lean. `@AutoConfigureTestDatabase` now detects containers and will automatically use that!
If you need to revert to the old behavior, set `replace=Replace.AUTO_CONFIGURED)` on the annotation.
@DataJdbcTest
@Testcontainers
Class MyDataIntegrationTests {
@ServiceConnection
@Container
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17");
@Autowired
private MyDataRepository repository;
...
}
www.sivalabs.in/run-spring-b...
💥 Understand how Spring Test Context Cache affects test execution speed
🔥 Learn to use Singleton Containers Pattern with Spring Boot's ServiceConnection support
www.sivalabs.in/run-spring-b...
💥 Understand how Spring Test Context Cache affects test execution speed
🔥 Learn to use Singleton Containers Pattern with Spring Boot's ServiceConnection support
🍃 All-in on Spring Boot 4: SB3 and Jackson 2 are gone, hello 4.1.1 👋
🅰️ Angular 22
⚡ React apps now build with Vite
🧪 Testcontainers ServiceConnection everywhere
jhipster.tech/2026/08/30/j...
#jhipster #java #springboot
🍃 All-in on Spring Boot 4: SB3 and Jackson 2 are gone, hello 4.1.1 👋
🅰️ Angular 22
⚡ React apps now build with Vite
🧪 Testcontainers ServiceConnection everywhere
jhipster.tech/2026/08/30/j...
#jhipster #java #springboot
https://stackoverflow.com/questions/79372882/how-can-i-use-serviceconnection-with-redis-testcontainers-for-spring-session-re
#spring-boot #testcontainers #spring-data-redis #spring-session […]
https://stackoverflow.com/questions/79372882/how-can-i-use-serviceconnection-with-redis-testcontainers-for-spring-session-re
#spring-boot #testcontainers #spring-data-redis #spring-session […]