今天在开发时发现一个问题:定义了一个oracle 的clob字段类型,当给这个表做insert操作时,如果给clob字段的值超过一定大小时,会报
ORA-01461: can bind a LONG value only for insert into a LONG column
的错误。
在网上查了一下,有一种做法是做insert的时候先给clob字段赋一个空值,然后再做update操作。但是这种做法我没有成功。还有另外一种做法是使用oracle10的驱动,不用oracle9i 的驱动,据说是能够解决问题。这个方法我没有试。我试的是另外一种办法。因为这个项目用的应用服务器是weblogic,而且也不会换成tomcat之类的轻量级应用服务器,所以我用的是weblogic的oracle驱动*BEA's Oracle Driver (Type 4) Versions:8.1.7,9.0.1,9.2.0。也能够解决该问题。
我一时觉得weblogic真的是一个很牛的公司啊(虽然它已经被oracle收购了),自己的jdk比sun的jdk要快,自己的oracle驱动也要比oracle的驱动好。
分享到:
相关推荐
Android 出现“Can’t bind to local 8602 for debugger”错误的解决方法 为了适应Android5.0的开发,把JDK升级到了1.7,然后在ADT中想调试一下程序(我连接的真机),结果报错如下: [2015-04-23 15:31:37 - ddms]...
This utility class can bind a edit menu for ListView, GridView, or other View easily. Welcome star, fork Screenshots How do I use PopupList? Just need a .java file and a little code. PopupList ...
This book focuses on running DNS systems based on BIND 9.3.0the first stable release that includes support for the latest DNSSEC (DNSSEC.bis) standards and a major functional upgrade from previous ...
bind bind bind bind
PDOStatement::bindValue PDOStatement::bindValue — 把一个值绑定到一个参数(PHP 5 >= 5.1.0, PECL pdo >= 0.1.0) 说明 语法 bool PDOStatement::bindValue ( mixed $parameter , mixed $value [, int $data_type...
dig 是一个 Linux 下用来 DNS 查询信息的工具,全称是Domain Information Groper,与 nslookup 类似,但比 nslookup 功能更强大。Windows 下只有 nslookup,如果也想用到 dig 命令,就只能自己动手安装了。...
[] 匹配中括号里的内容[a-z][A-Z][0-9]。 ! 事件。 $ 取环境变量的值。 | 管道。把前一命令的输出作为后一命令的输入,把几个命令连接起来。 |经常跟tee连用,tee 把内容保存到文档并显示出来。 三、通用后...
Key features: - Exchange your complete UI without touching any logic. You want to try the new Unity UI instead ...- Easily extendable for other UI, e.g. custom ones. - Easily extendable for custom UI wi
FFmpeg Unity Bind 主要是用来做视频处理,比如视频裁剪、合并、音视频合并等。
主要介绍了Android 出现“Can't bind to local 8602 for debugger”错误的解决方法的相关资料,需要的朋友可以参考下
BIND9中文手册 BIND9中文手册 BIND9中文手册 BIND9中文手册 BIND9中文手册
The Berkeley Internet Name Domain (BIND) implements a domain name server for a number of operating systems. This document provides basic information about the installation and care of
高通量计算系统用于预测和人体核受体结合的环境污染物,王小享,张效伟,许多环境污染物均可以结合核受体并调节后者的活性。由于化学物质和核受体结合可以启动许多对人体生存,生长和繁殖有害的过程,因
DNS & BIND Cookbook
More complex inline functions may also be put in a .h file for the convenience of the implementer and callers, though if this makes the .h file too unwieldy you can instead put that code in a ...
RESTful Web Services 中文版, 希望对大家有用,共同学习,一起进步
Include a comment in .nzf files (used for adding new zones via "rndc"), giving the name of the associated view. [RT #34765] Use separate rate limiting queues for refresh and notify requests. [RT ...
12. A circuit-switched network can guarantee a certain amount of end-to-end bandwidth for the duration of a call. Most packet-switched networks today (including the Internet) cannot make any end-to-...
BIND9配置手册 BIND9.9管理员手册 DNS配置手册