I need to find a way to get the ids starting with 11, in sql is with 'start with' and 'Connect by prior' but in HQL, how can I do that?, if there is a better way in grails, the help would be great, thanks!
(Updated: Sorry, I didn't write the other command which is: 'connect by prior')