1. Splitting Hibernate configuration files (hbm.xml files) when using subclasses stackoverflow.comwe have a hibernate mapping file (hbm.xml file) that maps a part of our domain to the database. This part contains a inheritance hierarchy. I.e. we have a parent class 'Parent' ... |
2. Mapping class and subclass in different hbm file. forum.hibernate.org |
3. subclass in different package results in no hbm generated forum.hibernate.org |
4. How to map subclasses in hbm.xml? forum.hibernate.orgHi everyone, I have to map a subclass in my hbm.xml file. There is a father called Person and a child, called User: public class Person{ } public class User extends Person{ } How to map User in Person.hbml.xml? Should I use |
5. hbm2ddl creating incorrect column in joined-subclass forum.hibernate.orgNewbie Joined: Fri Mar 17, 2006 12:54 pm Posts: 10 I am trying to create a generic Audit class and a generic RecordAudit subclass so that I can keep track of how my objects are manipulated. When I declare RecordAudit as a joined-subclass, the column record_id is incorrectly put on the superclass Audit table when using hbm2ddl. I have verified this ... |
6. Using subclass and join in hbm files. forum.hibernate.orgIn the hibernate Mapping documents I want to create a join with a subclass and want to have some set or list under it as per the requirement. i.e I have a tag hierarchy like this |