[ 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 | +------------------+-------------+----------+