Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying characters in queries may fail if specified directly #104

Open
tzaeschke opened this issue May 26, 2017 · 2 comments
Open

Specifying characters in queries may fail if specified directly #104

tzaeschke opened this issue May 26, 2017 · 2 comments
Assignees
Labels

Comments

@tzaeschke
Copy link
Owner

This is copied from issue #99, originally reported by @slavap

q.setFilter("ch == 'a' || ch == 'z'");

Error is: Exception in thread "main" javax.jdo.JDOUserException: Query parsing error at 'a' near position 7: Incompatible types,
found 'String', expected: char. Query= ch == 'a' || ch == 'z'

@tzaeschke tzaeschke self-assigned this May 26, 2017
@tzaeschke tzaeschke added the bug label May 26, 2017
@tzaeschke
Copy link
Owner Author

The query engine is currently undergoing a major refactoring. Th bug will be fixed once the refactoring is done.

@tzaeschke
Copy link
Owner Author

tzaeschke commented May 26, 2017

I don't think it really counts as bounty-worth, especially as it is labelled as TODO in the code :-), QueryParserV3.java, line 498. But thanks for reporting it.

tzaeschke added a commit that referenced this issue May 26, 2017
tzaeschke added a commit that referenced this issue Jan 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant