Ask a Question related to Coldfusion Database Access, Design and Development.
-
zax_srb #1
cfprocresult doesn't work
Firstly, let me say I am fully aware of the issue regarding using cfprocresult
in MX (in my case 6.1). It seems that has tripped up a lot of people. I am
using Oracle 9i and MX 6.1, and when I run the attatched code I get the error:
[Macromedia][Oracle JDBC Driver]Unsupported data conversion.
And the <cfprocresult name="roles" resultset="1"> line of code is highlighted.
The procedure works as we have run it with just parameters, but as soon as we
try and return the result set, after making the additions to the procedure, we
get the above error. Any ideas?
Thanks in advance for your help,
Stephen
<cfstoredproc
procedure="bsad_owner.PKG_BSAD_APPS.prc_logon"
datasource="#application.datasourceName#"
returncode="no">
<cfprocparam type="out"
dbvarname="oNbr_RetCode"
variable="returnCode"
cfsqltype="cf_sql_varchar"
null="no">
<cfprocparam type="out"
dbvarname="oVar_RetMsg"
variable="returnMessage"
cfsqltype="cf_sql_varchar"
null="no">
<cfprocparam type="in"
dbvarname="iVar_UID"
value="lsso_uid"
cfsqltype="cf_sql_varchar"
null="no">
<cfprocparam type="in"
dbvarname="ivar_PWD"
value="lsso_password"
cfsqltype="cf_sql_varchar"
null="no">
<cfprocparam type="in"
dbvarname="iVar_AppName"
value="#application.applicationName#"
cfsqltype="cf_sql_varchar"
null="no">
<cfprocresult name="roles" resultset="1">
</cfstoredproc>
zax_srb Guest
-
Possible to use cfprocresult from a previous cfstoredproc in a cfquery?
I'm new to ColdFusion and I want to know if it is possible to use the cfprocresult value from a previous cfstoredproc in a cfquery or cfselect or... -
Links don't work in Shockwave movie but work in p
Hi, everyone: I encountered a strange problem. I downloaded a sample movie from Macromedia site and noticed that the same problem occurs what I had... -
WHY Doesn't this Work???
I put a DataHolder on the stage, it automatically has a property called data which is of type "Object". I can use AS to build the properties of... -
Will .DIR and .DXR work same?
I have created a presentaion which consists of 10 movies with extension .dir And I made my all 10 movies cross-linked with each-other, as a normal... -
Not sure if this will work..
hi, i have been askedto design a site for a shiping company and i want to do it in flash. I have an idea and would like some help in how to... -
paross1 #2
Re: cfprocresult doesn't work
Since you did not include your stored procedure, I am assuming that you are
using a reference cursor to capture your result set. What drivers are you
using, as you cannot use Oracle's ThinClient JDBC drivers when attempting to
return result sets via reference cursors.
[url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-b17.htm#wp1102246[/url]
To use reference cursors in packages or stored procedures, use the
cfprocresult tag. This causes the ColdFusion JDBC database driver to put Oracle
reference cursors into a result set. (You cannot use this method with Oracle's
ThinClient JDBC drivers.)
Phil
paross1 Guest



Reply With Quote

