Posts by Gabriel Veras • 1 point
1 post
-
-1
votes1
answer17
viewsQ: How to define which data of an ENUM the JPA will persist in the bank?
Hello, I would like to know how to annotate a property (ID) of my ENUM for when to persist in the bank? Because currently JPA is saving the index of the Enum array and not the ID... My Enum: @Getter…