Unsure, the Oracle SQL encoder is the same as the PostGIS one, save the
spatial part (they have the same superclass),
the "like" encoding is basically the same, so not sure how this is
happening.
First, make sure that you are using the oracle plugin corresponding to the
geoserver release (sometimes people use
an older plugin with a newer geoserver, that causes troubles). If the issue
is still there, open a ticket on the issue tracker,
with a small example dataset and a request to make it happen.

Cheers
Andrea

On Thu, Oct 25, 2018 at 11:13 AM Martin Zeller <[email protected]> wrote:

> On 25.10.2018 08:55, Martin Zeller wrote:
>
>
> > we use geoserver 2.14.0 with oracle and postgis. A postgis getfeature
> > request with filter works:
> >
> http://xxx:8080/geoserver/wfs?&REQUEST=getFeature&Typename=xxx:xxxxx_postgis&Version=1.0.0&service=WFS&PROPERTYNAME=name&filter=
> <ogc:Filter
> > xmlns:ogc="http://ogc.org";
> > xmlns:gml="http://www.opengis.net/gml";><And><ogc:PropertyIsLike
> > wildCard='*'
> > singleChar='.'
> >
> escape='!'><ogc:PropertyName>name</ogc:PropertyName><ogc:Literal>**</ogc:Literal></ogc:PropertyIsLike></And></ogc:Filter>
> >
> > Whereas a similar request to an oracle store doesn't work:
> >
> http://xxx:8080/geoserver_read/wfs?&REQUEST=getFeature&Typename=xxx:xxxx_oracle&Version=1.0.0&service=WFS&filter=
> <ogc:Filter
> > xmlns:ogc="http://ogc.org";
> > xmlns:gml="http://www.opengis.net/gml";><And><ogc:PropertyIsLike
> > wildCard='*'
> > singleChar='.'
> >
> escape='!'><ogc:PropertyName>NAME</ogc:PropertyName><ogc:Literal>Wien*</ogc:Literal></ogc:PropertyIsLike></And></ogc:Filter>
> >
> > This request results in an exception:
> > java.io.IOException: Error occured calculating bounds for xxxx_oracle
> > ORA-00907: missing right parenthesis
> >
> > Excerpt from the log file:
> >
> > Please note the problem in the resulting sql statement: ...FROM
> > gisdb.xxxx_oracleWHERE...
> >
>
> Same problem with geoserver 2.13.3
>
>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 

Regards, Andrea Aime == GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
@geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to