DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCCORE-457
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Core

Generic compile of JPQL "LIKE" doesn't process ESCAPE character

Created: 02/Feb/10 10:37 AM   Updated: 17/Mar/10 08:54 PM   Resolved: 02/Feb/10 10:56 AM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 2.0.1

 Description  « Hide
Should process the ESCAPE character and leave it as a second argument into "matches" (and handle later as required - at least then the datastore can handle it if it knows how)

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 02/Feb/10 10:56 AM
SVN trunk now handles this, compiling as an InvokeExpression with one or two args. The first arg is the matching regular expression, and the optional second arg is the escape char