Issue Details (XML | Word | Printable)

Key: NUCRDBMS-421
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Areg Beketovski
Votes: 0
Watchers: 0
Operations

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

Subqueries not copied to the size/count query when using extension "datanucleus.query.resultSizeMethod=count"

Created: 23/Jun/10 07:25 PM   Updated: 20/Oct/10 09:30 AM   Resolved: 07/Oct/10 07:56 PM
Component/s: Queries
Affects Version/s: 2.1.0.release
Fix Version/s: 2.2.0.m2

File Attachments: 1. Zip Archive testcase.zip (3 kB)


Datastore: H2, Microsoft SQL Server, MySQL


 Description  « Hide
Getting exceptions when using subqueries with Query.addSubquery() method or in a single string query and trying to call size() on the returned collection. Extension "datanucleus.query.resultSizeMethod" = "count" is set on the base query.



Sort Order: Ascending order - Click to sort in descending order
Areg Beketovski added a comment - 23/Jun/10 07:28 PM
Tescase reproducing the issue.

Andy Jefferson added a comment - 07/Oct/10 07:56 PM
SVN trunk works fine