| At my work we are creating a Type Safe Enumeration wrapper around a List.  We are using JDK 1.4.2 and our wrapper holds an instance to List as opposed to implementing List and overriding its methods with our own type safe functionality.
 I know it is mentioned in the Hibernate documentation that the superclasses for collections are preferred when mapping these collections in a *.hbm.xml.  Will this type of Type Safe Enumeration cause problems when trying to map a class that has one of these Type Safe Enumeration collections of another object?  Should we be implementing List as opposed to holding an instance, would this make a difference in the Hibernate mapping? Or is this purely a job for a custom type?
 
 Thanks,
 
 -jay
 
 
 |