Skip to content

Glossary: Spring Boot Beyond the Basics

@ServiceConnection

Also written: ServiceConnection

An annotation on a Testcontainers bean that tells Boot to point the datasource at that throwaway container instead of the URL in `application.properties`.

Where the book teaches it

Related terms

Testcontainers