Skip to main content
March 28, 2007
Question

CFMX 7.0.2 Pro, Oracle 10g R2, Ref Cursors, Stored Procs

  • March 28, 2007
  • 2 replies
  • 690 views
I have installed all the latest hotfixes and data direct drivers. I have the latest version of Oracle's client and JDBC drivers installed. I have tried the thin, oci, and odbc drivers. No matter what I do, I cannot get ref cursors to return from a stored procedure on coldfusion professional. The error I get is:

THIN & OCI:
ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'SEARCH_USER' ORA-06550: line 1, column 7: PL/SQL: Statement ignored

ODBC:
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC driver for Oracle]Cannot bind PL/SQL Records or Cursor References

Enterprise works every time but we are talking about almost a $5000 difference per server just for Oracle connectivity. Any ideas?

Nate
This topic has been closed for replies.

2 replies

Participant
September 13, 2007
I run into the same thing. Has this been resolved? I try everything I find without any luck
September 13, 2007
No, we tried and tried. Finally we went to Enterprise.
Participating Frequently
March 28, 2007
Try ODBC drivers downloaded from Oracle, not those from Microsoft. Also, Oracle ThinClient driver won't work for reference cursors per LiveDocs. Period.

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
March 28, 2007
That is why I tried the OCI drivers, but no better. Is there any other option other than ODBC?
Participating Frequently
March 28, 2007
Not that I know of unless you want to upgrade to Enterprise.

Phil