> -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Friday, December 18, 2009 1:59 PM > To: [email protected] > Subject: Re: How to get hardcoded ordinal values to map to specific > Enum values? > > Hi, > > I haven't used this, but it seems that you should start looking at > EnumValueHandler: > http://openjpa.apache.org/builds/latest/docs/javadoc/org/apache/openjpa > /jdbc/meta/strats/EnumValueHandler.html
It appears this feature is completely custom to OpenJpa, and isn't even in the JPA 2.0 specification. That's unfortunate, but it appears to be the only way to do this.
