Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Areg Beketovski
Votes: 0
Watchers: 0

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 (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.

Areg Beketovski added a comment - 23/Jun/10 07:28 PM
Tescase reproducing the issue.

Areg Beketovski made changes - 23/Jun/10 07:28 PM
Field Original Value New Value
Attachment [ 11220 ]
Andy Jefferson added a comment - 07/Oct/10 07:56 PM
SVN trunk works fine

Andy Jefferson made changes - 07/Oct/10 07:56 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 2.2.0.m2 [ 11023 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 20/Oct/10 09:30 AM
Status Resolved [ 5 ] Closed [ 6 ]