- Make sure you flush the session or commit the transaction
- Make sure the cascade attribute of the association is set to "save" or
"all", otherwise if you save a Computer it won't save the dependent objects.
- If it's a bidirectional association, make sure you also set the other end
of the association (a setParentComputer in Hardware?).