generic dao: xml, sql, hibernate works!

Signed-off-by: 4ernookiy <4ernookiy@gmail.com>