First off, here is my transfer.xml
<?xml version="1.0" encoding="UTF-8"?>
<transfer xsi:noNamespaceSchemaLocation="/transfer/resources/xsd/
transfer.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
        <objectDefinitions>
                <package name="ppl">
                        <object name="ppl" table="people"
                                <id name="id" type="string" />
                                <property name="lastName" type="string" 
column="lastName"
nullable="true" />
                                <property name="firstName" type="string" 
column="firstName"
nullable="true" />
                                <manytoone name="genderID" lazy="true">
                                        <link to="ppl.gender" column="genderID" 
/>
                                </manytoone >
                        </object>
                        <object name="gender" table="gender">
                                <id name="genderID" type="numeric" />
                                <property name="gender" type="string" 
column="genderName"
nullable="true" />
                        </object>
                </package>
        </objectDefinitions>
</transfer>

When I run the following:

<cfscript>
        ppl = application.transfer.getTransfer().list("ppl.ppl", "lastName");
</cfscript>

<cfdump var="#ppl#" />

It dumps my data but it ignores the relationships.

However, if I use TQL, it works:
<cfscript>
    query = application.transfer.getTransfer().createQuery("from
ppl.ppl join ppl.gender");
        person = application.transfer.getTransfer().listbyQuery(query);
</cfscript>

<cfdump var="#person #" />

Is this the default behavior for transfer.list?

-- 
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