Ebean finder returns ExpressionList
-
26-06-2021 - |
Pregunta
I followed this tutorial:
http://www.playframework.org/documentation/2.0/JavaEbean
according to the tutorial Finder
should return a List<E>
.
I tried it, but instead it returns ExpressionList<E>
I tried to cast it to List<E>
but it failed.
so, the tutorial must be wrong, or am I missing something?
Solución
I think findList()
function should use in the end to make it return List<E>
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow