Label: 数据库

Content with label 数据库 in Groovy (See content from all spaces)
Related Labels: cloure, sql, groovy, database

Page: 数据库特色
数据库特色        Groovy 通过一些比较整洁的方式来使 SQL 工作的更容易,更带有 Groovy 色彩。你可以执行查询和SQL 语句,并且可以更容易的传递参数给语句,另外还有数据库连接及异常处理等。感谢闭包。  import groovy.sql.Sql def foo = 'cheese' def sql = Sql.newInstance("jdbc:mysql://localh…
Other labels: