if necessary, I may try using the hibernate extension for doing this. However, I couldn't really tell how to use the @DiscriminatorForumla from the documentation I found at
http://www.hibernate.org/hib_docs/annot ... ml#d0e1999
It only shows the following:
@Entity
@DiscriminatorForumla("case when forest_type is null then 0 else forest_type end")
public class Forest { ... }
Is there some more documentation available for this annotation and/or possibly even an example somewhere that shows how to use it?? Any information regarding this would be greatly appreciated.