Проекции в Граале
def result = Person.createCriteria().list {
projections {
property('firstName')
property('lastName')
}
}
Silly Sandpiper
def result = Person.createCriteria().list {
projections {
property('firstName')
property('lastName')
}
}