Title
d

deactivateduser

08/26/2017, 9:54 PM
hey kotliners quick question, kotlin enum and jpa @Enumerated annotation I can't seem to find any information on this. In normal Java I use it to specify storing the string value and not ordinal value, but hibernate seems to not like it with kotlin enum
k

karelpeeters

08/26/2017, 10:35 PM
d

deactivateduser

08/26/2017, 11:40 PM
I wonder if I'm missing a dependancy somewhere because it complains about it not being a java enum
k

karelpeeters

08/26/2017, 11:40 PM
Where does it complain? What's the full error message?
d

deactivateduser

08/26/2017, 11:52 PM
Not at my pc just now but it complains when sprint context is building and hibernate is validating the db