error code [29902]The error occurred while applying a parameter map

SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [99999]; error code [29902]; --- The error occurred in com/hangyjx/businessww/common/entinfo/ibatis-entInfo.xml. --- The error occurred while applying a parameter map. --- Check the entinfo.query_name-InlineParameterMap. --- Check the statement (query failed). --- Cause: java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: Oracle Text error: DRG-50901: text query parser syntax error on line 1, column 5 ORA-02063: preceding 3 lines from DB ; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in com/hangyjx/businessww/common/entinfo/ibatis-entInfo.xml. --- The error occurred while applying a parameter map. --- Check the entinfo.query_name-InlineParameterMap. --- Check the statement (query failed). --- Cause: java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: Oracle Text error: DRG-50901: text query parser syntax error on line 1, column 5 ORA-02063: preceding 3 lines from DB

select t.chr_id,t.entid,t.entname,t.regno,t.lerep,t.estdate,t.dom,t.opscope,t.uni_scid from ent_info t where contains@db(t.entname,#value#)>0

1.表空间索引有问题?

https://www.cnblogs.com/lanzi/archive/2012/03/12/2391895.html

再次对对其中一条数据进行分析,发现出错的位置在哪段,然后再找了一条之前已经分析过的再次进行分析发现也是提示这个错误。恍然大悟,应该是用于分析的gs_tile_p 这个基表的索引出问题了。
找到问题就好办了,对该表的空间索引进行重建
alter index rebuild index_name online;
重建后再次分析如上语句果然成功了。

 

2.语句中使用了关键字?

 

3.contains用法是否有问题?

FYI, you'll also get this error (i'm on Oracle 12.2) if you have the input parameter to a stored proc that will be the query in a contains predicate as an NVARCHAR2. So if you have input params to a stored proc as NVARCHAR2 and that parameter is destined for the query in the contains predicate, then change it to VARCHAR (or maybe CLOB) and it will no longer throw this error.

 

4.数据库是否集群部署?某个数据库出错?

 

5.weblogic安装

https://wenku.baidu.com/view/938a7a56f5335a8102d220d0.html

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值