It seems to me that defining
static namedQueries = {}
in a subclass of a hierarchy masks completely the super class’s namedQueries declaration. Is there a way to get both working? Say using a super key word?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Groovy 1.8 was added closure composition, which should allow you to do this via a left shift operator.
But that won’t be available until Grails 2.0, as Grails 1.3.7 uses Groovy 1.7.