<< Back to previous view

[JDBC-72] Improve laziness with as-arrays? Created: 03/Nov/13  Updated: 03/Nov/13  Resolved: 03/Nov/13

Status: Resolved
Project: java.jdbc
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Major
Reporter: Sean Corfield Assignee: Sean Corfield
Resolution: Completed Votes: 1
Labels: None


 Description   

Currently, query uses vec with as-arrays? so the result set is fully realized before result-set-fn is called. This isn't ideal.

A useful improvement would be to default result-set-fn to vec if as-arrays? else to doall (as currently) and remove the vec call in the conditional argument to result-set-fn.

This would not change the default behavior for as-arrays? true/false but would allow users to override result-set-fn to leverage lazy result set fetching even when using as-arrays? true.



 Comments   
Comment by Sean Corfield [ 03/Nov/13 9:39 PM ]

Will be in alpha6/beta1

Generated at Wed Apr 16 14:16:36 CDT 2014 using JIRA 4.4#649-r158309.