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

前端 未结 15 1766
野的像风
野的像风 2020-11-30 02:44

When I try to query objects, I end up with following error:

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

Could someo

15条回答
  •  粉色の甜心
    2020-11-30 03:38

    I encountered this error message when trying to insert String into an XMLTYPE column.

    Specifically using Java's PreparedStatement like this:

    ps.setString('XML', document);
    

    where XML here is defined as XMLTYPE.

提交回复
热议问题