I have the following scenario.
1 core application jar file with its own hibernate.cfg.xml
8 dependent jar files with their own hibernate.cfg.xml files
Ideally, I'd like to only have connection information in the core applications config, and then the dependent jars would specify their own pertinent mapping information. I cannot have all the mapping information centralized because depending on the context, not all the jar files would be used together.
For instance, one application might consist of:
core + jar A + jar D
So in the end, the configuration would need to include only mapping information from jars A and D and connection information in the core jar.
Is there a way to achieve this through configuration in hibernate?
Thanks,
Tim Orme
|