jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ераскин Алексей <e...@1c.ru>
Subject JackRabbit ocm and pagination
Date Fri, 12 Dec 2008 11:03:55 GMT
Hi, guys!

I wanna know if I can do in OCM following stuff:

 

Query q = queryManager.createQuery(oneRecordStatement, Query.XPATH);

QueryImpl query = (QueryImpl) q;

query.setLimit(15);

query.setOffset(0);

QueryResult queryResult = query.execute();

 

There are any methods in OCM for doing pagination ?


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message