SchemaCrawler 8.9 发布

fmms 13年前
     <p>SchemaCrawler提供一组用于增强标准JDBC Metadata的API.SchemaCrawler还包含一个命令行工具能够将数据库结构和数据以一种易读的形式输出.示例代码:</p>    <pre class="brush:java; toolbar: true; auto-links: false;">final SchemaCrawlerOptions options = new SchemaCrawlerOptions();  // Set what details are required in the schema - this affects the  // time taken to crawl the schema  options.setSchemaInfoLevel(SchemaInfoLevel.standard());    final Database database = SchemaCrawlerUtility.getDatabase(connection, options);  for (final Schema schema: database.getSchemas())  {    System.out.println(schema);    for (final Table table: schema.getTables())    {      System.out.println("o--> " + table);      for (final Column column: table.getColumns())      {        System.out.println("     o--> " + column);      }    }  }</pre>    <p></p>    <p>SchemaCrawler 8.9 改进记录:</p>    <blockquote>     <p>This release adds a new lint report and several new lints, which are described on the website. Lints are extensible. You can add new custom commands to SchemaCrawler as<span class="truncate_more"> well, using the new command provider API</span></p>    </blockquote> 项目地址:http://schemacrawler.sourceforge.net/