Issue Details (XML | Word | Printable)

Key: NUCRDBMS-688
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

Short circuit PersistentClassROF for case where no subclass of the candidate (even though there are superclasses)

Created: 20/Aug/13 02:45 PM   Updated: 03/Sep/13 03:40 PM   Resolved: 20/Aug/13 02:47 PM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 3.2.6


 Description  « Hide
If we have the particular situation of a table holding instances of a base class and subclass, and we are querying for instances of the subclass. In this case the query itself will restrict to just instances of the candidate type, so we could then check whether there are any subclasses of this subclass and, if not, then assume it is of the candidate type (no extra DB check needed)

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 20/Aug/13 02:47 PM
SVN trunk adds this refinement