In my MySQL database, there\'s the column \"gender enum(\'male\',\'female\')\"
I\'ve created my enum \"com.mydomain.myapp.enums.Gender\", and in my Person
Person
Try to use @Enumerated(EnumType.STRING) and define your enum like this
enum Gender { male, female }
Note lower case values.
This will work at least with VARCHAR columns. It will store enum as string 'male' or 'female'.