rubbish-db 1.2.1-beta

http://www.wikihouse.com/winebarrel/index.php?rubbish-db
こんな感じにできるようにしました。


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

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

Book.findAny(dbh, Book.PUBLISHER.eq("04").and(Book.ID.between("001", "004")).order_by(Book.TITLE), new ObjectHandler() {
public void handle(Object row) {
println(row);
}
});

dbh.disconnect();