News for hackers. Stuff that matters.
Re:Groovy 2.2 released by olavgg on Tuesday November 19, 2013 @09:30AM (#6761334)
Use Groovy SQL, it is as easy as:

Sql sql = new Sql(dataSource)

List results = sql.rows('SELECT * FROM mytable WHERE type_id = :type_id', [type_id: id])

There are no comments on this comment yet.