Creating resultSetGen Groovy