I just defined my first reactor relationship, per the instructions:

<reactor>

        <config>
                <project value="ReactorSampleApp" />
                <dsn value="ReactorSampleApp" />
                <type value="mssql" />
                <mapping value="/reactordata" />
                <mode value="development" />
        </config>

  <objects>
                <object name="Customer">
                        <hasOne name="Address">
                                <relate from="addressId" to="addressId"/>
                        </hasOne> 
                </object>
        </objects>

        
</reactor>

And I even updated the MSSQL database schema, using the diagram tool to
create a true relationship between the tables.

I kept ignoring my changes, and would not create a getAddress() method in my
Customer object... UNTIL I restarted the CF Service.  I assume this is not
normal... What was going on?



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

Reply via email to