jacques, imho no relation to commons-lang.
given openjpaList and the start/end indexes, you should try grabbing the list provided by openjpa, and doing this: List sublist = new ArrayList(openjpaList).subList(fromIndex, toIndex); hth, francisco On Thu, Mar 20, 2008 at 1:37 PM, Jacques Belissent <[EMAIL PROTECTED]> wrote: > Hi Rajeev, > > I get the same behavior with both 2.3 and 2.4. > > Jacques > > > > > > On Thu, Mar 20, 2008 at 12:46 AM, Rajeev Jha <[EMAIL PROTECTED]> wrote: > > > can you try with latest version of apache common-lang? what is your > > current version of comman-lang? > > > > On Thu, Mar 20, 2008 at 11:52 AM, Jacques Belissent <[EMAIL PROTECTED]> > > wrote: > > > Hi, > > > > > > I am getting the following exception when using OpenJPA 1.0.2. > > > > > > Looks like subList is not implemented. Is this expected? Is there a > > > workaround? > > > > > > java.lang.UnsupportedOperationException > > > at org.apache.openjpa.lib.rop.AbstractResultList.subList( > > > AbstractResultList.java:84) > > > at org.apache.openjpa.kernel.DelegatingResultList.subList( > > > DelegatingResultList.java:308) > > > ... > > > > > > Thanks. > > > Jacques > > > > > >
