Status/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 07/19/2014
Components: Database
Versions: 11.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 9
I touch on this in here, towards the bottom: http://cfmlblog.adamcameron.me/2014/03/coldfusion-11-calling-stored-procedure.html
Can I recommend you deprecate your generic-CFScript-solution to calling procs in CFScript, along with also deprecated storedproc.cfc. Both are substandard solutions.
This would be more thoughtful, and more in-keeping with CFML in general:
options = {
datasource = "scratch_mssql",
fetchclientinfo = true,
returncode = true
};
params = [
{value=URL.low, type="INTEGER"},
{value=URL.high, type="INTEGER"},
{type="out", variable="inclusiveCount", type="INTEGER"},
{type="out", variable="exclusiveCount", type="INTEGER"}
];
result = executeProcedure("uspGetColours", params, options);
Where result contains properties for metadata, out parameter values and returned recordsets (there's a mock-up in that blog article).
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3791737
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: