Yep. 

Kyle Hayes 
ColdFusion Developer
WebAID - Anaheim 
Boeing Information Technology 
714.762.2894 
[EMAIL PROTECTED] 


-----Original Message-----
From: Jeremy Blumenfeld [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 21, 2006 7:14 AM
To: reactor@doughughes.net
Subject: RE: [Reactor for CF] Duplicate Column Names?

If I do that will I need to change all of the method calls of:

step.getId()
To
step.getStepId()

(not so backwards compatible...)

/jeremy


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Hayes, Kyle D
Sent: Thursday, September 21, 2006 9:39 AM
To: reactor@doughughes.net
Subject: RE: [Reactor for CF] Duplicate Column Names?


Specify something similar in your Reactor.xml file:

<object name="step">
        <field name="id" alias="StepId" />     <------ This is what you
want to do.
        <hasMany name="employee">
                <link name="employeeStep" />
        </hasMany>
        <hasMany name="employeeStep">
                <relate from="id" to="stepId" />
        </hasMany>
</object> 

In the objects that contain the column names, put a field tag that has a
name attribute of the actual column name, and then an alias attribute
that specifies how you want to call that column from that table from now
on.


Kyle Hayes
ColdFusion Developer
WebAID - Anaheim
Boeing Information Technology
714.762.2894
[EMAIL PROTECTED] 


-----Original Message-----
From: Jeremy Blumenfeld [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 8:19 PM
To: reactor@doughughes.net
Subject: [Reactor for CF] Duplicate Column Names?

I am doing an OO query which joins two tables.  The tables both contain
a column named 'name'.  How can I retrieve both columns?  


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- Reactor for ColdFusion Mailing List reactor@doughughes.net
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- Reactor for ColdFusion Mailing List reactor@doughughes.net
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- Reactor for ColdFusion Mailing List reactor@doughughes.net
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
reactor@doughughes.net
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to