I don't suppose the table you are pointing at for 'Orders' name is 'Order',
or anything weird like that?

Can we get the full error though?

Mark

On Fri, May 29, 2009 at 2:48 PM, Matthew <[email protected]> wrote:

>
> Hi
>
> I keep getting the follow error "null null" when I try to call
> get*Array() on a onetomany which is setup to lazy load.
>
> The documentation says that what I've done is fine (http://
> docs.transfer-orm.com/wiki/Using_Lazy_Loading.cfm) so I can't work out
> what's wrong?
>
> Here's my Transfer XML config:
>
> <object name="User">
>        <id name="userId" type="numeric"></id>
>        <property name="firstName" type="string" />
>        <onetomany name="Orders" lazy="true">
>                <link to="Order" column="userId" />
>                <collection type="array"></collection>
>        </onetomany>
> </object>
>
> I'm trying to call user.getOrdersArray() but get the error. I can call
> user.getUserId() and user.getFirstName() no problem.
>
> Setup: Transfer 1.1, CF 7
>
> Cheers
> Matthew
> >
>


-- 
E: [email protected]
W: www.compoundtheory.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