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)

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 Store RDBMS

JDOQL2 : Map.containsKey/containsValue using INNER JOIN don't allow for the contained variable already having its table in the statement

Created: 28/Apr/10 03:55 PM   Updated: 24/May/10 03:43 PM   Resolved: 28/Apr/10 05:05 PM
Component/s: Queries
Affects Version/s: 2.1.0.m1, 2.1.0.m2
Fix Version/s: 2.1.0.m3

 Description  « Hide
When we do a Map.containsKey/Map.containsValue and are using an inner join we always assume that the contained object doesn't yet exist in the statement. It may however have its own table present. For example when we do


Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 28/Apr/10 05:05 PM
SVN trunk handles this correctly now and doesn't add the extra INNER JOIN