How to convert List to an object of type com.avaje.ebean.PagingList
I have a List object retrieved using the below
String sql ="select ....";
List list = Ebean.createQuery(XYZ.class, sql).findList();
Now, I would like to convert this to below object of type
com.avaje.ebean.PagingList
Any suggestions