Issue Details (XML | Word | Printable)

Key: NUCRDBMS-367
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 Store RDBMS

JDOQL2 : Any ORed clauses should have parentheses around them

Created: 16/Apr/10 11:56 AM   Updated: 26/Apr/10 03:39 PM   Resolved: 16/Apr/10 11:59 AM
Component/s: Queries
Affects Version/s: 2.0.0.release, 2.0.1, 2.0.2, 2.0.3, 2.1.0.m1
Fix Version/s: 2.1.0.m2


 Description  « Hide
When we have
(clause1 && clause2) || (clause3 && clause4)

this becomes
CLAUSE1 AND CLAUSE2 OR CLAUSE3 AND CLAUSE4

Need to put parentheses around the OR clauses

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 16/Apr/10 11:59 AM
SVN trunk has this