How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Dealing with lookup tables and enums between database and spring app

calendar_today July 15, 2026 person Tapialj domain spring-boot

I am attempting to add an enum of Roles for users. I have a roles table that has a FK constraint to a roles_name table for the role name. How do I deal with the roles as an enum and as an entity?

open_in_new Read original post