[hibernate-dev] Mapping Java Enums in Hibernate
Sebastian Prehn
sebastian.prehn at planetswebdesign.de
Sun Mar 4 03:32:30 EST 2012
Hello,
I would love to be able to map enum values to custom database values to
decouple db and java logic.
Just finished uploading my custom mapper into a new googlesource project.
http://code.google.com/p/hibernate-enum-usertype/
EclipseLink follows a similar approach:
http://wiki.eclipse.org/EclipseLink/Examples/JPA/EnumToCode
Any feedback? Would it be worth integrating such a thing into hibernate?
Kind Regards
Sebastian
--
PLANETS-Webdesign - Web Applications
Sebastian Prehn
Hoherodskopfstr. 2a, 60435 Frankfurt am Main
www.planetswebdesign.de
PGP keyID: 0x3507AF63
More information about the hibernate-dev
mailing list