Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: ColdFusion 10 - With oracle ojdbc6 jar

$
0
0

For those finding this in the future... and looking for assistance with ColdFusion, Oracle and the Oracle drivers Oracle provides...

 

The Datadirect drivers that are included with ColdFusion Enterprise allow Oracle database use (CF Standard does not have drivers included for Oracle access, you need to provide your own 3rd party drivers), and allow for use of Reference Cursors.  Included with ColdFusion Enterprise are DataDirect drivers that are the ONLY way to get ColdFusion to allow use of Reference Cursors for result sets.

 

The ThinClient driver provided by Oracle DOES NOT allow use of Reference Cursors.

 

If you need to use the Oracle ThinClient drivers for ANY REASON, you can't use Reference Cursors.

 

From Adobe:

 

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461 172e0811cbec22c24-7f95.html



 

"CFML supports Oracle 8 and 9 Reference Cursor type, which passes a parameter by reference. Parameters that are passed this way can be allocated and deallocated from memory within the execution of one application. 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.)"

 

The DataDirect drivers shipped with ColdFusion (up to 10) are v4.01 SP1.  The latest drivers (as of this posting) available from Progress are 5.1.1.  Not sure if they resolve the issue yet, but they should.  They cost money however.   You can find out more here: http://www.datadirect.com/products/jdbc/index.html


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>