DAO templates for ORM and Entity