Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 1.2.1GA
Mapping documents: That's the question.
I have a model that looks like this:
A Panel can have IPanelDevices attached to it. An IExtendableDevice can have IChildDevices. Is there any other way than a separate hbm file for every concrete class? Can I leverage the interfaces in the hbm files? My attempts so far run into errors of not being able to find setters for properties on my Interfaces (they aren't there, they're in the base Device class.
Any suggestions would be appreciated. Thanks!
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html
[/img]