Сейчас вы будете перенаправлены на сайт:
https://devhubby.com/thread/how-to-detach-an-entity-in-hibernate