使用CFQuery撤销长文本(CLOB) [英] retreving long text (CLOB) using CFQuery

查看:211
本文介绍了使用CFQuery撤销长文本(CLOB)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 CFQuery 从Oracle DB检索CLOB字段。如果CLOB字段包含小于〜8000的数据,那么我可以看到检索的值(o / p),但是如果CLOB字段大小的值大于8000字符,那么它不检索该值。在< cfdump> 我可以看到查询检索为空字符串虽然值存在于Oracle DB。

I am using CFQuery to retrieve the CLOB field from Oracle DB. If the CLOB filed contains the Data less than ~ 8000, then I can see retrieved the value ( the o/p), however If the value in CLOB field size is more than 8000 chars, then its not retrieving the value. in <cfdump> i can see the query retrieved as 'empty String' though the value exists in Oracle DB.

我在CFadim控制台中使用Oracle驱动程序
启用'启用长文本检索(CLOB)'和'启用二进制大对象检索(BLOB)。 '
将'Long Text Buffer(chr)'和'Blob Buffer(bytes)'值设置为6400000

I am using the Oracle Driver in CFadim console enabled 'Enable long text retrieval (CLOB).' and 'Enable binary large object retrieval (BLOB). ' set 'Long Text Buffer (chr)' and 'Blob Buffer(bytes) ' values to 6400000

任何建议来检索全文?

any suggestions to retrieve the full text?

推荐答案

您是否在数据源配置中启用了CLOB字段?

Did you enable CLOB fields in the datasource configuration? If not make sure you do.


  1. 前往coldfusion管理员

  2. 数据源

  3. 编辑您的数据源

  4. 点击高级设置

  5. >
  6. 保存数据源

  1. Go to the coldfusion administrator
  2. select datasources
  3. edit your datasource
  4. click on advanced settings
  5. check the "enable clob"
  6. save datasource

您不应该为此重新启动CF。

You shouldn't need to restart CF for this.

这篇关于使用CFQuery撤销长文本(CLOB)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆