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-415
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 compilation : Compilation of JPQL subquery doesn't allow for candidate expressions

Created: 21/Oct/09 11:36 AM   Updated: 23/Oct/09 04:07 PM   Resolved: 21/Oct/09 04:52 PM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 2.0.0.m3

 Description  « Hide
If we have a query like this

    SELECT o FROM c.orders o where o.totalPrice BETWEEN 1000 AND 1200)

the "candidate" of the subquery is an expression rather than a class

Andy Jefferson added a comment - 21/Oct/09 04:52 PM
SVN trunk now allows for parent candidate alias to be used in the subquery FROM clause

Andy Jefferson made changes - 21/Oct/09 04:52 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 23/Oct/09 04:07 PM
Status Resolved [ 5 ] Closed [ 6 ]