Question
Oracle CLOB Columns Failing With ColdFusion 7
I am using ColdFusion 7 Enterprise, updater 1 with DataDirect
version 3.4 drivers and Oracle 8i. ColdFusion 7 is returning no
data for CLOB datatype columns. The ColdFusion 5 version currently
in production is successfully returning values for these columns. I
have changed the datasource to allow CLOB support and increased the
Long Text buffer to 256000. My largest set of data stored is 42000
bytes. I tried turning off CLOB support with the 256000 Long Text
buffer and it still did not work. The only success I have had is
with an Oracle package called dbms_lob. This package has a Substr(
) function which does return data but is limited to only 4000
characters at a time (varchar2). E.g.
dbms_lob.substr(myCLOBColumn,4000,1). So to extract my data would
require many output columns that I would then need to concatenate
with ColdFusion. Concatenating with Oracle does not work since an
Oracle varchar2 can return a maximum of 4000 characters. There is
another DBMS_LOB function that I used to determine the true length
of the data in the CLOB columns: DBMS_LOB.GETLENGTH(myCLOBColumn)
Are there any environmental, driver or other settings that may help with this problem?
Thanks,
GregK
Are there any environmental, driver or other settings that may help with this problem?
Thanks,
GregK
