Oracle的错误ORA-01461解决方法
在 Oracle 上插入或更新大于 4k 的 LOB 时接收到错误消息
当插入或更新大于 4k 的 LOB(BLOBS 和 CLOBS)时,您可能会接收到与以下所示相似的异常:
java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
Data size bigger than Max size for this type: xxxx. SQL State = <null>, Error Code = 17,070
这通常会在您使用 Oracle 数据库并在 WebSphere Application Server 中启用会话持久性的情况下发生。安装 WebSphere Application Server PQ77056 来解决这个会话数据库的问题。