If I set the parent (who has an identity generated Id) to have a constrained=true to a child (who has an foreign generated Id) I get an error because hibernate tries to save the child before it gets the id from the parent table.