David Hansmann I fixed the NPE as part of https://hibernate.atlassian.net/browse/HHH-12868 .
Do you agree that your original issue with the parent ids is a non-issue and we can close this one?