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-427
Type: Bug Bug
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 compilation : Compilation of query with "SELECT" as part of text in WHERE clause is interpreted as subquery even if part of different word

Created: 11/Nov/09 09:25 AM   Updated: 26/Dec/09 12:57 PM   Resolved: 11/Nov/09 09:42 AM
Component/s: Queries
Affects Version/s: 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 2.0.0.m1, 2.0.0.m2, 2.0.0.m3
Fix Version/s: 2.0.0.m4

 Description  « Hide
If we have a single-string query as
SELECT FROM org.datanucleus.test.Sample WHERE name == ''

the "selectors" is interpreted as a SELECT starting a subquery

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 11/Nov/09 09:42 AM
SVN trunk fixes this