<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>[This mail summaries a conversation that I started with Sanne and Emmanuel, off-list]</div><div><br></div><div>The current CacheQuery.list() method returns a List<Object>, which less handy to manipulate than a typed list (List<Book> for example).</div><div><br></div><div>My initial question is: could the CacheQuery.list() method be changed into something like CacheQuery.list(Book.class) which would return a List<Book> ?</div><div><br></div><div>After discussing this subject with Sanne and Emmanuel, it seems to be interesting but not so trivial, partially because of the way Infinispan supports Projections. </div><div>Which brings me to the suggestion where, in case of projections, the result list could be a List<Book> for which only of subset of the attributes would be set. </div><div><br></div><div>While another user opened a similar issue last week -nice coincidence- : <a href="https://issues.jboss.org/browse/ISPN-2826">https://issues.jboss.org/browse/ISPN-2826</a>, Sanne pointed me to <a href="https://issues.jboss.org/browse/ISPN-949">https://issues.jboss.org/browse/ISPN-949</a> which is about using something similar to ResultTransformers in Infinispan. </div><div><br></div><div><br></div><div>Thanks,</div><div>Best regards,<br><div apple-content-edited="true">
/Xavier<br><br><br>
</div>
<br></div></body></html>