bpair
07-03-2007, 09:21 AM
There are some scenarios where the data retrieved will be very large. Currently the resultset is scrollable causing all of the data to eventually be stored in memory even with the 'live' resultset option.
I would like more control over the resultset for scenarios where very large amounts of data is retrieved.
It would be nice if similar to <live>true</live> there was a
<resultset type="FORWARD_ONLY" concur="READ_ONLY" cursor="CLOSE" fetch="FORWARD" />
This would need to be defined on the query not the component which is a little more difficult to implement.
However, this would allow me to create reports without worrying about running out of memory. Or create reports that are sensitive to changes, or allow updates.
I think this would be very beneficial and the default could remain the same as today.
I would like more control over the resultset for scenarios where very large amounts of data is retrieved.
It would be nice if similar to <live>true</live> there was a
<resultset type="FORWARD_ONLY" concur="READ_ONLY" cursor="CLOSE" fetch="FORWARD" />
This would need to be defined on the query not the component which is a little more difficult to implement.
However, this would allow me to create reports without worrying about running out of memory. Or create reports that are sensitive to changes, or allow updates.
I think this would be very beneficial and the default could remain the same as today.