【发布时间】:2014-05-22 11:46:29
【问题描述】:
我已经关注了这个链接,http://schemacrawler.sourceforge.net/bundled.html
我正在使用 Oracle 11g 数据库,
根据文档,我已经为 Oracle 下载了捆绑包,并为其下载了 ojdbc 驱动程序(ojdbc.6.jar)并将其放在 lib 文件夹中, 然后触发命令:-
-host=xxx -port=xxx -database=xxx -user=xxx -password=xxx
但它不起作用。
对于 unix,它的抛出错误:-
-bash: -host=xxx: command not found
当我触发命令时:-
java -classpath lib/*:. schemacrawler.tools.oracle.Main $* -host=xxx -port=xxx -database=xxx -user=xxx -password=xxx
它抛出错误:-
schemacrawler.schemacrawler.SchemaCrawlerException: No command specified
at schemacrawler.tools.commandline.SchemaCrawlerCommandLine.<init>(SchemaCrawlerCommandLine.java:88)
at schemacrawler.tools.commandline.SchemaCrawlerCommandLine.<init>(SchemaCrawlerCommandLine.java:62)
at schemacrawler.tools.commandline.SchemaCrawlerMain.main(SchemaCrawlerMain.java:76)
at schemacrawler.tools.oracle.Main.main(Main.java:44)
请帮忙解决
【问题讨论】:
标签: java oracle bash unix schemacrawler