Sorry Max, I was trying to document a fix & mention a problem.
Here my attempt at clearing it up:
I want to reveng tables from N schemas. I can't see all the schemas
from the same DB using 1 hibernate.configuration. So, creating multiple hibernate.configurations does the trick.
Quote:
Each hib.config using a different cfg.xml and specifing different schema names on the connection url
STEPS:
In my Hibernate Configurations Tab I have
2 hibernate.configurations. I created session-factories for both. Now,
all the schemas I want to reveng are visible.
Next, I proceed to create the reveng.xml...
... select then include the schemas/tables from one hib.config
... select then include the schema/tables from
the second hib.config.
At this point, the tool has created my reveng.xml with N schema's/tables (no manual editing).
Next, I generate-artifacts. No problem here. Classes and hbm.xml for all schema/tables included above are generated.
Problem (& a small one at that :-) ): the html that's generated, which documents the fields in the schema's/tables - only documents
1 schema not
*.
I have some other problems like # signs in db column names but not tools related.
Is that any clearer / make any scence :-)?