Thanks Doug... It is obvious I have not messed with Oracle OR Postgres before.
 
Thank you for illumining my ignorance. :-)
 
- JS
 

------------------------------------------------

Joshua Scott

Resonant Media Technologies, LLC.

www.resonantmedia.com | ponderings.wordpress.com

 

"It is impossible to get out of a problem by using the same type of thinking that it took to get into the problem." -- Albert Einstein

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hughes
Sent: Monday, May 01, 2006 11:22 PM
To: [email protected]
Subject: RE: [Reactor For CF] HasOne AND Sequence

Josh,

 

The sequence attributes in the samples are used by DBMS that don’t have identity or autonumber concepts in their systems.  (Oracle and Postgres).  Because the samples are supposed to work with all of those systems the xml is configured to support that.  The sequence attribute tells reactor which sequence to get the next identity value from.

 

So, no, to use aliases you still use the alias attribute. 

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Scott
Sent: Monday, May 01, 2006 11:02 PM
To: [email protected]
Subject: [Reactor For CF] HasOne AND Sequence

 

All,

 

I have a quick question. I am looking to alias a hasOne relationship inside my reactor.xml. I notice that in the examples the alias attribute is gone and replaced by sequence. Are these two synonymous? Can I do this:

 

  <object name="Opportunity">
   <hasOne name="OppTermLengths" sequence="TermLength">
    <relate from="termlength" to="id" />
   </hasOne>  
  </object>

 

If so does it do anything else BUT simply create an alias.

 

Thanks,

 

Josh

 

 

 


------------------------------------------------
Joshua Scott
Resonant Media Technologies, LLC.
http://www.resonantmedia.com | http://ponderings.wordpress.com

 


"It is impossible to get out of a problem by using the same type of thinking that it took to get into the problem." -- Albert Einstein

 


 

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

Reply via email to