Skip to content

Glossary: Spring Boot Basics

@GeneratedValue

Tells the database to choose the id of an entity (1, 2, 3…). The id stays null until the entity is saved.

Where the book teaches it

Related terms

@IdPrimary key