title: save entity with null reference
body: <p>I would like to know if for example I have entity like customer and customer addresss and address is a reference in 
  in customer what will happen if I dont find match with the entities keys some instance of customer will need to be saved with address null
  what will happen in the commit ,i will get dump?</p>