cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Gattei <marco.gat...@gmail.com>
Subject Cayenne 3.0.M5 fetch offset
Date Fri, 24 Apr 2009 09:00:22 GMT
Hi everyone,

    a newbie question ....  Is fetchOffset supported on Sybase ?

i did some test with cayennne 3 with  SelectQuery  and fetch offset  and 
running code like this:
 
        SelectQuery query = new SelectQuery(MyClass.class, 
e.expWithParameters(parametri));
        query.setFetchOffset(10);
        query.setFetchLimit(10);
        List<MyClass> list = performQuery(query);

on oracle  returns only 10 items in the list ....
on sybase returns 2000 items !!!!!

I'm missing something ?

Thank you

Marco


Mime
View raw message