dao: fix incompatibility with latest jdbi version

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>