I'm having a problem with auto-update on the
reference-descriptor.  It just maybe that I'm not
understand how this works.

I have an object that contains the following field
descriptor and reference descriptor;

<field-descriptor
    name="sexId"
    column="sex_id"
    jdbc-type="INTEGER"
/>

<reference-descriptor
    name="sex"
   
class-ref="com.tabch.mdops.framework.businessobjects.sexBO"
    auto-retrieve="false"
    auto-update="false">
    <foreignkey field-id-ref="14">
</reference-descriptor>

I'm manually setting the sexId field before I persist
the object, I am not setting the referenced object
which is null.  I would think auto-update would allow
me to do this, but when I look at the data in the
database base my sexId field is null.

Am I misunderstanding how this works?  Is there a way
for me to do what I want.  That is, persist the sexId
field, but not the object.  But when I read the data
back in, I do want the referenced object to be loaded,
just not when I persist.

Thanks...

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to