Tag Archives: hibernate

Why you should not map Java 5 enums with hibernate

Back in this post, I gave some pretty detailed instructions on how to map a Java 5 enum to a database table using Hibernate. The domain data that was represented in these mappings were not user-editable. They were something like types or statuses, a part of the logic of the application. If [...]


Posted in Uncategorized | Also tagged , , | 2 Comments

Mapping Java 5 enums with Hibernate

Hibernate is used to map java objects to a relational database. Ideally, you would like your java object model to be as object-oriented as possible. It is also nice to be able to use features like java 5 enums while coding the object model. In this tutorial, I’ll share with you how [...]


Posted in Uncategorized | Also tagged , , , | 23 Comments
Check out the latest GroovyMag to see an interview with me about the 1.1 release of GrailsUI: