Hi Bob,

You're absolutely correct.

I did manage to find this one out for myself...
and isnce it was only a few minutes after postin - I deleted the
original!!!

None the less - Thanks for your help.




On Nov 22, 11:33 pm, "Bob Silverberg" <[EMAIL PROTECTED]>
wrote:
> Sounds like maybe there's no record in car.workStatus with an id of 5.
>
> Is there?
>
>
>
> On Sat, Nov 22, 2008 at 5:31 AM, Gavin Baumanis <[EMAIL PROTECTED]> wrote:
>
> > Hi Gang,
>
> > I'll provide all the particulars below - but ultimately there I am
> > having an issue with saving my new record.
>
> > I have found this;
>
> > Which seems to be what my issue is - but I need a little hand-holding;
> > could I not just use cascadeSave?
>
> >http://groups.google.com/group/transfer-dev/browse_thread/thread/6a19...
>
> > <!-- transfer xml -->
> > <object name="generalCAR" table="tbl_CAR">
> >        <id name="id_tbl_car" type="numeric" generate="false" />
> >        <manytoone name="workStatus">
> >                <link to="car.workStatus" column="workStatusId" />
> >        </manytoone>
> >        ...
> > </object>
>
> > and in my post form processing I currently have;
> > <cfset session.generalCAR.setworkStatus(application.transfer.get
> > ("car.workStatus", 5)) />
>
> > After validation I then simply have the following for saving;
> > application.transfer.save(session.generalCAR);
>
> > But get the following error;
>
> > The ManyToOne TransferObject is not persisted.
> > In TransferObject 'car.generalCAR' manytoone 'car.workStatus' has not
> > been persisted in the database.
>
> > Thanks once again!
>
> --
> Bob Silverbergwww.silverwareconsulting.com
--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to