• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there a simple way to do JDK 5 enumerations in Hibernate?

John de Michele
Posts: 600
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

I'm getting a personal project started to catalog all of my DVDs and Blu-Rays, as a way to learn Hibernate and some of the more J2EE APIs. I have some persistent objects that would make much more sense as enums, but after searching the web and the forums, none of the solutions seem like they use basic Java enumerations (i.e., using the enum keyword). So, is something like this possible in Hibernate 3.2?:

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!