add id to deleted object on hibernate wrapper