Hibernate version: 2.1.5
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
Debug level Hibernate log excerpt:
I was wondering if there is a way to import xml mappings from one document into another mapping? What I would like to do is set up a base set of classes that have columns that do not change. I would then like to set my extended mappings up in another mapping document and these would, in a sence, be merged into the class. Also, if this is possible, would I be able to override a mapping in the base set of class mappings with one in the extended set of mappings. ie. change a varchar(32) to varchar(64), etc.?
Thanks for your help.
Dan
|