<< Back to previous view

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

Status: Closed
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


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.

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

Will be in alpha6/beta1

Generated at Fri Jan 19 10:11:37 CST 2018 using JIRA 4.4#649-r158309.