Issue Details (XML | Word | Printable)

Key: OPENJPA-175
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Srinivasa
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenJPA

Eager selects by PagingResultObjectProvider may not use the FetchBatchSize

Created: 19/Mar/07 11:57 PM   Updated: 24/Mar/07 12:42 AM
Return to search
Component/s: None
Affects Version/s: 0.9.0, 0.9.6
Fix Version/s: 0.9.7

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works InExpression-Diff.txt 2007-03-22 05:45 AM Srinivasa 3 kB
Text File Licensed for inclusion in ASF works OPENJPA-175-patch.txt 2007-03-20 07:43 PM Srinivasa 5 kB
Text File Licensed for inclusion in ASF works OPENJPA-175-patch.txt 2007-03-20 12:05 AM Srinivasa 5 kB

Resolution Date: 24/Mar/07 12:42 AM


 Description  « Hide
The PagingResultObjectProvider during initialization does checks to determine the appropriate pageSize. While this logic caps the size to 50 and addresses determining an appropriate page size, it doesn't always conform to the set batch size. For example with the size being 1000 and FetchBatchSize set to say 500, the page size is determined to be 50 resulting in eager selects happening in batches of 50 when the user expects it to be in batches of 500.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Srinivasa made changes - 20/Mar/07 12:05 AM
Field Original Value New Value
Attachment OPENJPA-175-patch.txt [ 12353704 ]
Srinivasa made changes - 20/Mar/07 07:43 PM
Attachment OPENJPA-175-patch.txt [ 12353782 ]
Srinivasa made changes - 22/Mar/07 05:45 AM
Attachment InExpression-Diff.txt [ 12353927 ]
Srinivasa made changes - 24/Mar/07 12:42 AM
Fix Version/s 0.9.7 [ 12312340 ]
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]