Reattach method added to generic dao.
Reattach method added to generic dao