Quantcast
Viewing all articles
Browse latest Browse all 3

Named Queries in Grails 1.2

They built a nice new feature in Grails 1.2 called “named queries“. Named queries can be defined in a domain class as static properties and support the criteria builder syntax. Examples: package testapp   class User { String name int iq int age   static namedQueries = { dumbUsers { int referenceIq = 60 lt [...]

Viewing all articles
Browse latest Browse all 3

Trending Articles