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
Operations

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 == 'http://domain.com/jquery-selectors-tutorial.html'

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

Andy Jefferson added a comment - 11/Nov/09 09:42 AM
SVN trunk fixes this

Andy Jefferson made changes - 11/Nov/09 09:42 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 26/Dec/09 12:57 PM
Status Resolved [ 5 ] Closed [ 6 ]