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/JPQL2 : Generation of select when multiple classes sharing table can add superclasses to discriminator restriction!

Created: 06/Nov/09 12:39 PM   Updated: 26/Dec/09 12:56 PM   Resolved: 06/Nov/09 01:15 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
If we have classes Base, SubClass, SubSubClass sharing a table and we do a query of SubSubClass and its subclasses then the SELECT will have a discriminator select showing all options for the table (i.e including Base and SubClass)!

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 06/Nov/09 01:15 PM
Fixed in SVN trunk. May need further work when we handle subclass-table cases more extensively