You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramya (JIRA)" <ji...@apache.org> on 2017/04/13 03:30:41 UTC
[jira] [Updated] (OLINGO-1098) Incorrect handling of SQL wildcards
'_' and '%' on filtering
[ https://issues.apache.org/jira/browse/OLINGO-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramya updated OLINGO-1098:
--------------------------
Attachment: JPASQLQueryFix.diff
> Incorrect handling of SQL wildcards '_' and '%' on filtering
> ------------------------------------------------------------
>
> Key: OLINGO-1098
> URL: https://issues.apache.org/jira/browse/OLINGO-1098
> Project: Olingo
> Issue Type: Bug
> Components: odata2-jpa
> Affects Versions: V2 2.0.8
> Reporter: Ramya
> Attachments: JPASQLQueryFix.diff
>
>
> When an OData filter contains the SQL wildcards '%' and '_', these are incorrectly translated into database queries which contain these characters unescaped, leading to incorrect search results.
> Suggestion is to create positional parameterized queries.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)