[ 
https://issues.apache.org/jira/browse/OPENJPA-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16682568#comment-16682568
 ] 

ASF subversion and git services commented on OPENJPA-2756:
----------------------------------------------------------

Commit db6f6b642203d60ae1fa7576715e180c6bbe6081 in openjpa's branch 
refs/heads/master from [~struberg]
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=db6f6b6 ]

OPENJPA-2756 escape search strings for all Postgres versions

Can be disabled via config by explicitly setting the
DBDictionary to requiresSearchStringEscapeForLike=false
via persistence.xml for example.


> PostgreSQL requires escaping of search strings in all versions
> --------------------------------------------------------------
>
>                 Key: OPENJPA-2756
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2756
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 3.0.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>            Priority: Major
>             Fix For: 3.0.1
>
>
> Our {{PostgresDictionary}} did enable the flag 
> {{requiresSearchStringEscapeForLike}} only for PostgreSQL versions <= 9.0. 
> But this is essentially still needed. Just tested it with PostgreSQL-11.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to