Issue Details (XML | Word | Printable)

Key: GRAILS-3233
Type: Improvement Improvement
Status: Open Open
Priority: Critical Critical
Assignee: Graeme Rocher
Reporter: Marc Palmer
Votes: 0
Watchers: 0
Operations

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

Scrollable results from criteria don't seem to be useful, improvements needed

Created: 11/Jul/08 08:15 AM   Updated: 18/Sep/08 09:09 AM
Component/s: Persistence
Affects Version/s: 1.0.3
Fix Version/s: 1.2

Time Tracking:
Not Specified


 Description  « Hide
I tried to use criteria.scroll() to go through a potentially massive list of objects today, and found that its not really usable as is.

This is because you have to use integer column numbers to access the data, which is problematic as you do not know for sure in what order columns will be returned by hibernate. Furthermore it is not clear how relationships are handled here.

What we need is dynamic named column retrieval using scrollable.propertyNameHere, and for such property access to also retrieve the associations as expected.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Graeme Rocher added a comment - 18/Sep/08 09:09 AM
Moving to 1.2, non critical