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
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to