Person.withCriteria { or { and { eq 'lastName', 'Winter' eq 'firstName', 'Johnny' } and { eq 'lastName', 'Brown' eq 'firstName', 'Jeff' } } }
上面的语言将对应如下SQL语句
select this_.id as id0_0_, this_.version as version0_0_, this_.last_name as last3_0_0_, this_.first_name as first4_0_0_ from person this_ where ( ( this_.last_name='Winter' and this_.first_name='Johnny' ) or ( this_.last_name='Brown' and this_.first_name='Jeff' ) )
相关推荐
Grails 中文 参考手册
grails中文参考手册 学习资料 groovy
grails 中文第二版
grails 中文 API grails 中文 API
Grails1.1最新 中文 文档 当今的Java Web开发技术显得过于复杂,相对于它本身的需要来说。现在主流的Java Web框架也是异常复杂,而且没有很好的遵循 Don't Repeat Yourself (DRY) 法则。 因此我们要以一种新的思维...
当今的Java Web开发技术显得过于复杂,相对于它本身的需要来说。现在主流的Java Web框架也是异常复杂,而且没有很好的遵循 Don't Repeat ...本文档将带你从Grails入门开始,最终能够使用Grails框架建设Web应用程序。
grails 中文文档+grails-fckeditor-0.9.5.zip插件
grails中的上传,下载,需要的请下载
Grails Grails Grails Grails Grails
Grails 最新的 v1.1版的中文文档,chm格式,Grails是一套快速开发Web应用的开源框架,基于Groovy编程语言,并构建于Spring、Hibernate和其它标准Java框架之上,能为大家带来超高效率的一站式框架。
比较难找的grails的资料,我也是找了很久才找到的。需要grails相关的拿走
Grails 中文参考手册 Grails 中文参考手册
grails 中文手册,grails应该不用说明是啥东西了吧,流行的脚本语言groovy应用框架。
比较详细的grails中文文档,有所有命令行解释,还有grails的一个完整的学习过程的资料
grails 中文帮助 中文帮助grails 中文帮助 中文帮助grails 中文帮助 中文帮助grails 中文帮助 中文帮助
Grails权威指南Grails权威指南Grails权威指南Grails权威指南Grails权威指南Grails权威指南
标准JS 常规 def belaBartok = new Artist ( name : ' Béla Bartók ' ) . save( failOnError : true ) def album = new Album ( artist : belaBartok) ....new Music ( album : album, time : 100.0 ) ....