Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

Conversation

@muuki88
Copy link

@muuki88 muuki88 commented May 20, 2013

This is the first part to customize java.sql.Statement creation. Next step would be to allow something like this.

tx.select("SELECT * FROM table01") { row =>
   // process row
}  { stmt => 
   stmt.setFetchSize(Integer.MIN_VALUE)
}

or with ordering

tx.select("SELECT * FROM table01") (
 customize =   { stmt => 
   stmt.setFetchSize(Integer.MIN_VALUE)
 },
 block = { row =>
   // process row
})

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant