How can I see what repotools -createTables is going to create?
One answer
There is a logger in log4j.properties for each application, e.g., in server/conf/jts/log4j.properties:
# Turn on debugging of all SQL queries
#log4j.logger.sqlTxLogger=DEBUG
If you enable that logger, then all the SQL executed by repotools will get logged (to the createTables log file that gets generated). So, you can install CLM and your database on a test machine and run repotools -createTables against a test database with logging enabled to see the SQL being executed. Just be sure not to enable this in production as it would log excessively when the server is running.
This is a way to see what will happen, but it is not sufficient to *only* run the SQL commands; repotools must be run on any new database to set up bootstrapping data. In other words, running repotools will show the DDL that will be used but the DDL cannot be used itself to create the new database.
Martha (Ruby) Andrews
Jazz L3 Developer