dplass wrote:
I assume your database is not created at runtime.
Therefore you already know which tables you have.
Which classes map to those tables?
<i>Those</i> are the classes you should specify in the config file.
I'm building the infrastructure of a big system with many bussiness subsystems in it. Each subsystem has its own database schema and runs in its own container, but all of them uses my infrastructure. I want to do some settings (common to all the subsystems) in hibernate config, but each subsystem has its own tables and classes, so, at build time, i don't know wich are my client's tables and classes, so i can't map them.