相关疑难解决方法(0)

错误:列索引超出范围:1,列数:0

我正在使用wso2dss 3.0.0.我正在尝试执行postgresql查询,即

SELECT addressid, geocode
FROM maddress
WHERE geocode::point <@ circle '((18.9750,72.8258), 5)';
Run Code Online (Sandbox Code Playgroud)

它在PostgreSQL中工作正常.当我在wso2dss中使用相同的查询时

SELECT addressid, geocode
FROM maddress
WHERE geocode::point <@ circle '((?,?), ?)';    
Run Code Online (Sandbox Code Playgroud)

它给我的错误如下:

DS Fault Message: Error in 'SQLQuery.processNormalQuery'
DS Code: DATABASE_ERROR
Source Data Service:-
Name: Geofence_DataService
Location: /Geofence_DataService.dbs
Description: N/A
Default Namespace: http://ws.wso2.org/dataservice
Current Request Name: adding_geofence_op
Current Params: {longitude=72.8258, radius=4, latitude=18.9750}
Nested Exception:-
DS Fault Message: Error in 'createProcessedPreparedStatement'
DS Code: UNKNOWN_ERROR
Nested Exception:-
org.postgresql.util.PSQLException: The column index is out of range: 1, number of …
Run Code Online (Sandbox Code Playgroud)

postgresql wso2-data-services-server

7
推荐指数
1
解决办法
2万
查看次数