I need to support Java5 Enum without defining a mapping.
I tried to do this with Descriptors Handlers and it never worked out.
After a lots of struggle I decided to treat it as a primitive and that was very
easy todo than.
I will upload the patch.diff file for CVS. Please integrate this as I need it
Or if you do not like the approach implement the java5 enum support in any way
The approach is very simply. There are 2 isPrimitive methods
I intruduced the following check for enum:
On the marshalling point for primitives I do the same check again and if it is
an enum, I call the 'name' method.
On the Unmarshalling point I do the same as your EnumFieldHandler, I call the