Like queries with Escape not working with '/'

Description

Example:

It will throw:

org.hibernate.hql.ParsingException: HQL000006: The query from org.hibernate.ogm.backendtck.queries.Hypothesis h where h.description LIKE '%cave_' ESCAPE '\' is not valid; Found unconsumed token(s): ESCAPE .
at org.hibernate.hql.QueryParser.parseQuery(QueryParser.java:75)

It seems to work properly if instead of `\` we use `*`.

Environment

None

Assignee

Unassigned

Reporter

Davide D'Alto

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure