add query, exec, trans method to dao