I've tried that, and I'm still have the same problem. 
I'm using 0.9.8 and PersistanceBroker as my
implementation.

Any help would be greatly appreciated.

Tom
--- Thomas Mahler <[EMAIL PROTECTED]> wrote:
> Hi Thomas,
> 
> Thomas Quaile wrote:
> > 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.  
> 
> that's done by auto-update="false"
> 
> > But when I read the data
> > back in, I do want the referenced object to be
> loaded,
> > just not when I persist.
> 
> You have to use auto-retrieve="true" for this!
> 
> cheers,
> Thomas
> 
> > 
> > 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]
> > 
> > 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
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