Hi,
Pretty simple question here. I've read tons of posts in the forum, but I can't believe It is impossible to do the mapping I want in the following the following context :
I have the simplest mapping you can imagine (public enum MyEnum { EnumA, EnumB; })
I'm using Hibernate 3.1.3.
I do not, nor I can, use annotations. I use mapping files.
What I want to do is very simple : I want to map an enum object property to a column (string value). And I do not want to write UserType or other extra code.
So in a more direct way as possible, is it possible to do want I want given my context ? I it is, could you please indicate me how to proceed.
Thanks and have a nice day.
renam
|