added example of cascade persist to detached entity