KEYCLOAK-16033 Revert Jpa*EventQuery to getResultList
This commit is contained in:
parent
74b5143c5e
commit
f5c52345fc
2 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ public class JpaAdminEventQuery implements AdminEventQuery {
|
|||
query.setMaxResults(maxResults);
|
||||
}
|
||||
|
||||
return closing(query.getResultStream().map(JpaEventStoreProvider::convertAdminEvent));
|
||||
return closing(query.getResultList().stream().map(JpaEventStoreProvider::convertAdminEvent));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -134,7 +134,7 @@ public class JpaEventQuery implements EventQuery {
|
|||
}
|
||||
|
||||
|
||||
return closing(query.getResultStream().map(JpaEventStoreProvider::convertEvent));
|
||||
return closing(query.getResultList().stream().map(JpaEventStoreProvider::convertEvent));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue