Guest User

Untitled

a guest
Jun 18th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. sql = Sql.newInstance("jdbcurl", "username", "password", "net.sourceforge.jtds.jdbc.Driver")
  2.  
  3. sql.eachRow("select * from tableName", { println it.id + " -- ${it.firstName} --"} );
Add Comment
Please, Sign In to add comment