SQL security holes closed for OfficeDao.