Issue Details (XML | Word | Printable)

Key: NUCCORE-424
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 JPQL "expr IN (subquery)" is incorrect

Created: 05/Nov/09 03:20 PM   Updated: 26/Dec/09 12:57 PM   Resolved: 05/Nov/09 03:44 PM
Component/s: Queries
Affects Version/s: 1.1.6, 2.0.0.m1, 2.0.0.m2, 2.0.0.m3
Fix Version/s: 2.0.0.m4


 Description  « Hide
Compilation of a JPQL clause like
c.home.state IN (Select distinct w.state from c.work w where w.state = :state)

is being compiled to
[filter:SubqueryExpression{IN(VariableExpression{DATANUCLEUS_SUBQUERY_1})}]

so misses off the "c.home.state" part


Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 05/Nov/09 03:44 PM
SVN trunk implements this correctly now