ciaran wrote:
What's the difference between Oracle.jar and Ingres.jar - surely the hibernate mapping files are the same regardless of the underlying database?
I probably could put all of my mappings in the same jar. I never really considered that. I just did it that way to logically group them together.
Also, the mapping section of the config xml is required, so I have to put something there in each one. If the mapping section was optional, I'd probably load everything together in 1 jar programatically. I suppose I could specify an empty jar in the config xml, then after all of the databases are configured load everything with a Configuration.addJar(jarName), but that's a nasty hack.