私はこれらのクラスを持っています。
class Author{
Person person
}
class Person{
String lastName
String firstName
String middleName
}
Person と Author を照会したいと思います。
def persons = Person.findAllByLastNameiLike("${a}")
でもできないらしい
def authors = Author.findAllByPerson(persons)
これを行う方法はありますか?