I have a Spring Boot project using JPA and hibernate.
Let\'s say there is an enum Code that represents a simple http status code:
Code