My apologies, I confess that I don't have undertood correctly your question, but now, with a better read I've got a better understand. IMO, isn't it is a paradoxical concept?? How could one element it self be your own parent? This is worst than "Which came first, the chicken or the egg?". But regardless of my humble opinion, I think that you can accomplish this in two steps: first, saving the entity without parent (to have the hibernate make the identity of the entity) and then update this entity supplying the parent entity to it self. I don't know if that is possible to do it in a single step.
For sake of curiosity, which is the reason that towards you to have a element being a parent to it self?
best regards.