Object the trash container was referring to was not being removed
An automatically generated id is required if moving from xml to jpa