I have a table column of type enum (mycoloumn enum('HIGH','LOW'))
How do I map in my model java class? using JPA annotation. I am using MySQL database.
AFAIK, using JDBC, you would use setString() / getString() to access such a column. So you should probably map it as a corresponding Java enum, using its name: