I'm a newbie.
i have the following tables:
Person
person_oid (PK)
height
weight
country_oid (FK)
...
Country
country_oid (PK)
country_name
...
so I have the following object:
Person
personOid
height
weight
Country
if I only want to update height and weight, I still have to retrieve Country object and set to Person object, then call saveOrUpdate(person). Is there anyway I can update the Person object without issue a sql to get the Country object?
Thanks in advance!


Reply With Quote