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
--~--~---------~--~----~------------~-------~--~----~
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 transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to