Skip to content

Glossary: Spring Boot Basics

@DataJpaTest

A test annotation that starts only the JPA part of the app: entities, repositories and an in-memory database. It skips controllers and seed runners, and rolls back each test.

Where the book teaches it

Related terms

RepositoryH2