I'm trying to reverse-engineer some classes from my 'dev' database, and then I want to be able to use those classes across my dev, test, and prod databases, since they're all generated from the same database definition.
However, the generated classes (from my hbm2java) all have the dev catalog listed in them. This causes my DAO's to target the dev database each time regardless of whether my dataSource is configured for test or prod.
I'm sure there must be a switch or property that will prevent inclusion of the catalog name in my generated classes, but all Googling has proved futile so far. Anybody know whether there's a switch I can use? Be much obliged.
Regards,
Darryl Pentz
|