Three entities are involved here: Deployment, DeploymentStep, and DeploymentStatusLog. I'll start by pasting the relevant definitions of those classes Now, the problem arises when I attempt to create brand new records for all three of these entities at once. In the controller: What happens when the UnitOfWork processes, it throws a weird-looking exception complaining about an undefined index: Now, if I persist/flush the Deployment entity first, and then persist/flush the associations, it succeeds.