Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
e.g. to allow you to configure query timeout or fetch size etc.
sql.withStatement
{ s| s.queryTimeout = 100; s.batchSize = 10 }...
sql.eachRow("select * from foo")
{ row | println row.name }