Open
Description
Hi all,
I am writing to you for help to check if my fixed is correct.
Seems that in the class/method GraphQLJpaQueryFactory::getResultStream that should return a stream but to do that the method convert the query stream to list.
See code here:
This thing resolves the entire query and does't use the jpa stream. I think the code should be
return query.getResultStream()
.peek(entityManager::detach);
instead of the actual code:
return query.**getResultList()
.stream()**
.peek(entityManager::detach);
Can you confirm if I am right or not?
Regards,
Carlo
Metadata
Metadata
Assignees
Labels
No labels