since instances of the same class are both parents and children, you need an id, which you have, but you also need a parent-id type column in the db (and field on the class) so the children can have a reference to their parent.
See https://forum.hibernate.org/viewtopic.php?f=1&t=1004163