Learn more about cloning repositories
You have read-only access
Properly close the entity manager before dettaching it from the thread