gpt4 book ai didi

java - ORA-01461-只能绑定(bind) LONG 值以插入 LONG 列

转载 作者:行者123 更新时间:2023-11-30 05:23:24 27 4
gpt4 key购买 nike

当我想提交事务时,出现此错误:

ORA-01461: can bind a LONG value only for insert into a LONG column

我在此事务中保存了多个实体 - 我如何找到问题所在

最佳答案

ORA-01461 只能绑定(bind) LONG 值以插入 LONG 列

Cause: An attempt was made to insert a value from a LONG datatype into another 
datatype. This is not allowed.

**Action**: Do not try to insert LONG datatypes into other types of columns.

**Answer**: The LONG and LONG RAW datatypes have been deprecated and the easiest solution to the ORA-01461 error is to change the column datatype to as CLOB.

关于java - ORA-01461-只能绑定(bind) LONG 值以插入 LONG 列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59138466/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com