[Geoserver-devel] Feature Id Format

I send the following request to geoserver:

http://localhost:8080/geoserver/GetFeature?FEATUREID=RQS_POINT.9

I see the point, that the format must be .. But the generated sql statement contains:

WHERE FID=‘RQS_POINT.9’

The FID column is a number, that’s why the above request throws an exception. It should be something like:

select … from RQS_POINT where FID=‘9’ …

Is this a problem of the OracleDataSource or is it the way it is intended to work?

Simon Räss

This looks like an OracleDataSource bug. Ill put a fix in for it when I get to work tomorrow.

Thanks
Sean

Simon Räss wrote:

I send the following request to geoserver:

http://localhost:8080/geoserver/GetFeature?FEATUREID=RQS_POINT.9

I see the point, that the format must be <feature-type-name>.<id>. But the generated sql statement contains:

WHERE FID='RQS_POINT.9'

The FID column is a number, that's why the above request throws an exception. It should be something like:

select ... from RQS_POINT where FID='9' ...

Is this a problem of the OracleDataSource or is it the way it is intended to work?

Simon Räss