[JIRA] (HHH-17064) Fetch mode select causes StackOverflowError