Ask a Question related to Coldfusion Database Access, Design and Development.
-
esperry #1
cfloop in MX7 hangs when writing to Oracle DB with JDBC
Any body seen this happen before ?
The follwing code is executing the cffile command correctly and outputs
correctly from the cfdump
The cfquery to insert new records is inserting the first record from the
insert stament but is not looping to the next record
Commenting out the query, to run the insert staement, loops though and does
the screen output successfully
The code below works fine on CF MX6 using CF internal webserver but is no
longer working in CF MX7 on IIS6
<cfset sde_datasource = "sdetest">
<cfhttp name="InFile" method="get"
url="http://espatial/tpnz/input/#cffile.ClientFileName#.#cffile.ClientFileExt#"
delimiter=","></cfhttp>
<cfdump var="#InFile#">
<cfquery name="CearTable" datasource="#sde_datasource#">
truncate table tpnz_parid
</cfquery>
<cfloop query="InFile">
<cfquery datasource="#sde_datasource#">
insert into tpnz_parid (par_id) values (#InFile.par_id#)
</cfquery>
<cfoutput>#InFile.par_id#<br></cfoutput>
</cfloop>
esperry Guest
-
Using Oracle JDBC drivers
Hi SPSman, Can you post your sample code here with attach code option. so I think I could help you out. regards logu. -
can't connect to oracle db via odbc and jdbc
greetings, i'm using coldfusion mx 7 standard and want to connect to an oracle db, which is on another server. first, i used odbc. after... -
[Macromedia][Oracle JDBC Driver][Oracle]ORA-01000:maximum open cursors exceeded
Here is the technote from Macromedia regarding this issue: http://www.macromedia.com/go/tn_17660 Hope this helps! -
MX6.1 - Oracle 10g rac and jdbc connection
We are just about to launch a newly developed website on MX6.1 using Oracle 10g as the back end with the RAC option/failover. I have just... -
JDBC Driver Mystery Hangs
Hi all, I've been testing some code in Junits test in Netbeans against a DB2 8.1.2 DB Fixpak 3 server (Linux). Because each test is descrete the...



Reply With Quote

