Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.1
Mapping documents:
HI all,
i am converting my existing EJB-based application to Hibernate, and i need some help with inheritance an dassociations
here's my situation.
I have followign classes
GenericRecord
-site
-date
-type
Record1 extends GenericRecord
- product
- empty
- location
- operator
Record2 extends GenericRecord
- cofc
- ticket
- product
Record3 extends GenericRecord
- location
- manualmode
- operator
I was going for the 'table per class' hierarchy, but was wondering if there was a better way to do that.
Fact is, i already have my discriminator on the GenericRecord (the type column)
anyone can help?
thanks in advance and regard
Marco