[ rubbish-db ]

ソース

RubbishDatabase dbh = new RubbishDatabase();
dbh.setLogging(true);

dbh.connect("jdbc:hsqldb:hsql://localhost", "sa", "");

VOGen vogen = new VOGen(dbh);
Template template01 = new ClassTemplate("sample.hsqldb.bean",
        "C:/eclipse/workspace/rubbish-db/sample/src");
vogen.write("PUBLIC", template01);
Template template02 = new IFTemplate("sample.hsqldb.i_f.bean",
        "C:/eclipse/workspace/rubbish-db/sample/src");
vogen.write("PUBLIC", template02);

dbh.disconnect();