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?
- How to get hardcoded ordinal values to map to specif... KARR, DAVID (ATTCINW)
- Re: How to get hardcoded ordinal values to map ... Daryl Stultz
- Re: How to get hardcoded ordinal values to map ... Craig L Russell
- Re: How to get hardcoded ordinal values to ... Daryl Stultz
- RE: How to get hardcoded ordinal values... KARR, DAVID (ATTCINW)
- Re: How to get hardcoded ordinal va... Craig L Russell
- RE: How to get hardcoded ordin... KARR, DAVID (ATTCINW)
- RE: How to get hardcoded ordin... KARR, DAVID (ATTCINW)
- Re: How to get hardcoded o... Craig L Russell
- Re: How to get hardcoded ordinal values to map ... Pinaki Poddar
- RE: How to get hardcoded ordinal values to ... KARR, DAVID (ATTCINW)
