Via a cast.
On Jun 30, 2010, at 10:07 AM, Gary Jarrel wrote:
> So given the query
>
> SelectQuery s = new SelectQuery(Role.class);
> s.setPageSize(2);
> List<Role> results = getDataContext().performQuery(s);
>
> How can I use the PersistentObjectList ???
>
> Thank you
>
> Gary
>
> On Wed, Jun 30, 2010 at 4:24 PM, Andrus Adamchik <andru..bjectstyle.org
> > wrote:
>> Exactly. Essentially it is "List.get(int)" method that loads the
>> page, so
>> once you get an object via this method it is already inflated.
>>
>> Andrus
>>
>> On Jun 30, 2010, at 8:40 AM, Andrey Razumovsky wrote:
>>
>>> For getting unresolved list, you can use
>>> PersistentObjectList.getValueDirectly(), if that helps
>>>
>
> <snip>
>
This archive was generated by hypermail 2.0.0 : Wed Jun 30 2010 - 07:23:44 UTC