The capture-schema command's exit code does not reflect the command's status
(successful/error) correctly in certain cases:
capture-schema -username name -password password -dburl url -driver jdbcdriver
[-schemaname aSchemaname] [-table aTablename]*
-username: username for authenticating access to a database
-password: password for accessing the selected database
-dburl: JDBC URL expected by the driver for accessing a database
-driver: JDBC driver classname in your CLASSPATH
-out: name of the output file. If it does not end with ".dbschema",
that extension will be added.
-schemaname: name of the user schema being captured
-table: name of a table to be captured
If no table names are given, all the tables in the database
(or named schema, if given) are captured.
If no schemaname is given, captures metadata for all tables
from all schemas accessible to this user.