person.setxxxx
Address addr = person.getAddress();
if (addr != null) {
addr.setXXX...
} else {
addr = addrHome.create(.....);
person.setAddress(addr);
}
It appears the insert statement was not executed before the update
statement. Is it correct? If it is then what is the work-around?
TIA.
Regards,
Kar