Thursday, January 21, 2010

A safer way to map your enums to the DB

The following post explaing how to map your enums safely to the database. I personally think this is a great idea proposed. Requires few extra lines of coding, but maintains data intergrity.

http://www.vineetmanohar.com/2010/01/11/3-ways-to-serialize-java-enums/

No comments:

Post a Comment