hibernateQuery.setFetchSize(Integer.MIN_VALUE); results = hibernateQuery.scroll(ScrollMode.FORWARD_ONLY); this is how to query data out using stream
防止内存中加载的数据过多