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