First of all mysql has ENUM type ( <http://dev.mys...
# exposed
t
First of all mysql has ENUM type ( http://dev.mysql.com/doc/refman/5.7/en/enum.html ) but it's not a part of ANSI SQL. If you use an entity mapping in exposed, you can write :
Copy code
var enumProperty by MyTable.varcharCol.byEnum(MyEnum::class.java)
But I think that your approach is better for repository-based dao.