Not sure if what I want to do is possible, but in a nutshell what I'm looking to do is create a base application API using hibernate then have other applications extend or build on the base configuration.
For example a base User pojo, mapped in the initial API, and then incorporated into another mapping as a child object of a more robust SomthingUser pojo in a seperate application.
Can one import a hibernate.cfg.xml file into another configuration file to support the cross mapping (if necessary) between them or to expose the base object's mapping to the more advanced object?
Am I completely out to lunch in thinking of trying to do something like this?
|