I'm trying to map a field that is essentially an enumerated type.  The
ordinal values are stored in the DB.  I can specify
"@Enumerated(EnumType.ORDINAL)" on the field, and then in the definition
of my Java enumerated type, I can define the possible values I can
expect.  What seems to be missing here is that I have to map specific
ordinal values.  I can't just assume the first value maps to "0", and so
on.  I don't see an obvious way to define an enumerated type where I can
set the ordinal values.  Am I missing something simple here?

Reply via email to