House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfprocparam

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Anthony Prato
08/09/2005 01:16 PM

I'm confused about cfprocparam. (mx7pro) The documentation states you have to specify them in order relative to the stored proc. There is no way to bind them to the proc's variable. However the debugging output generates a table for each proc call and there is a column for dbVarName, which makes me think that binding to a named parameter is possible. Has anyone written a replacement cfstoredproc tag? Can I use the underlying java to do this? Does anyone have any good links for this. Mostly what i've found so far just repeats that you must pass all db vars in order. TIA Anthony

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
08/09/2005 01:21 PM

----- Excess quoted text cut - see Original Post for more ----- You must pass all db vars in order. Sorry, but I couldn't resist. You must, in fact, do so. The DBVARNAME attribute used to work prior to CFMX using some databases, but it doesn't work with CFMX and is there for backward compatibility - you can still have it, but it doesn't actually do anything I guess. I don't think you can do this from Java; I believe this is a limitation of either the database drivers or of JDBC itself. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Anthony Prato
08/09/2005 01:49 PM

ugh... and it doesn't even pass the dbvarname parameter to the table generated in the debugging output. ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference