Do not clear() the entitymanager, just detach() the current entity, which is enough.