Question:
If an entity (Person) embeds an object (Address), and none of the Person.Address attributes are supplied when Person is persisted, will Person.getAddress() return a null value?
Problem:
When creating a new Person, it makes sense to create a new Address and set Person.setAddress(address).
When editing a Person, should I have to check to see if Person.getAddress() is null in the case that no attributes of Address were supplied when Person was created?
Thanks.