{"action":"opened","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/9173","labels_url":"https://api.github.com/repos/grails/grails-core/issues/9173/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/9173/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/9173/events","html_url":"https://github.com/grails/grails-core/issues/9173","id":99795869,"number":9173,"title":"Grails 2.5.1 Criteria projection \"count\" does not work in Mocked Domain in Hibernate 3 Unit Test ","user":{"login":"boardbloke","id":67458,"avatar_url":"https://avatars.githubusercontent.com/u/67458?v=3","gravatar_id":"","url":"https://api.github.com/users/boardbloke","html_url":"https://github.com/boardbloke","followers_url":"https://api.github.com/users/boardbloke/followers","following_url":"https://api.github.com/users/boardbloke/following{/other_user}","gists_url":"https://api.github.com/users/boardbloke/gists{/gist_id}","starred_url":"https://api.github.com/users/boardbloke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boardbloke/subscriptions","organizations_url":"https://api.github.com/users/boardbloke/orgs","repos_url":"https://api.github.com/users/boardbloke/repos","events_url":"https://api.github.com/users/boardbloke/events{/privacy}","received_events_url":"https://api.github.com/users/boardbloke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-08T11:33:03Z","updated_at":"2015-08-08T11:33:03Z","closed_at":null,"body":"The method count is not implemented.\r\n\r\nIf you change the test so that the projection uses countDistinct then it works.\r\n\r\nSee attached project.\r\n"}}