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-424
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 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 w where w.state = :state)

is being compiled to

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

Andy Jefferson added a comment - 05/Nov/09 03:44 PM
SVN trunk implements this correctly now

Andy Jefferson made changes - 05/Nov/09 03:44 PM
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 ]