HIBERNATE JBoss.org
 |  Register  | 
     
News 
About 
   Feature List 
   Road Map 
Documentation 
   Related Projects 
   External Documentation 
Download 
Forum & Mailinglists 
Support & Training 
JIRA Issue Tracking
Wiki Community Area


Hibernate Public Training Courses


Get Hibernate in Action eBook!


JavaWorld 2003 Finalist


Jolt Award 2004 Winner
      
Documentation > Community Area > UserType for persisting Typesafe Enumerations with a single class > Comments > Extend Jakarta commons-lang Enum?


Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
Subject: Extend Jakarta commons-lang Enum? 03 Aug 2004, 20:06
From: hypernate Replies: 0, Views: 40
 
Thanks for this contribution -- we're going to take a similar approach.
 One difference, however, is that we plan to extend the Jakarta
commons-lang Enum class for our base PersistentEnum.

http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/enum/Enum.html

Like you, we have found that in some cases it make sense to combine the
user-defined Type with the object that is being mapped to the database.
 This is a convenient way to compact the number of entities you have to
deal with.

Cheers,
Nate
 

Thread:
 Extend Jakarta commons-lang Enum? 
 hypernate   03 Aug 2004, 20:06 
      

coWiki