[ rubbish-db ]

ソース

RubbishDatabase dbh = new RubbishDatabase();
dbh.connect("jdbc:hsqldb:hsql://localhost", "sa", "");
Map[] rows = dbh.getSchemas();
dbh.disconnect();
println(new TabularFormat(rows));

結果

+------------------+-------------+----------+
|TABLE_SCHEM       |TABLE_CATALOG|IS_DEFAULT|
+------------------+-------------+----------+
|INFORMATION_SCHEMA|             |false     |
|PUBLIC            |             |true      |
+------------------+-------------+----------+