Added detached object method to abstract dao