Running dbMonster

How to force dbMonster to be more verbose?
  1. Unpack dbmonster-VERSION.jar,
  2. edit log4j.properties to adjust it for your needs,
  3. repack the jar,
  4. rerun dbMonster.
dbMonster uses Log4j for logging. The documentation may be found here. Be careful: setting all log levels to DEBUG will produce _a_lot_ of more or less helpful messages.
I tried SchemaGrabber with Oracle and it grabbed all tables including the system tables? Are schemas supported?
Yes. To grab only tables from one schema you must add dbmonster.jdbc.schema=schema_name property to the configuration file.



You may use schema in the configuration file (just rename your table name to schema_name.table_name) but be careful with generators which rely on this table: in other words if you name your table MYSCHEMA.MYTABLE you must use this full name i.e. in ForeignKeyGenerator.



It is a good habit to always use schemas with schema-enabled databases and not to use schema part of the table name on other databases.
Does dbMonster support composite keys?


Yes! However you have to write it on your own. For example: if we have two tables: invoices (invno int8) and invoice_items (invno int8, itemno int8) the composite key generator for table invoice_items may look like this.