how can I insert SQL value for eg:
class MyEnum {
FOO, BAR
}
which is later mapped to a MyEnum property = MyEnum.FOO
;
How can I
INSERT into XX (property) values ('FOO')
?
When I try it like this, I get:
Data conversion error converting "'FOO' (MYENUM INTEGER)";