Impetus / kundera

A JPA 2.1 compliant Polyglot Object-Datastore Mapping Library for NoSQL Datastores.Please subscribe to:

Home Page:http://groups.google.com/group/kundera-discuss/subscribe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use select **** limit in hbase-2

daddyauden opened this issue · comments

String queryString = "Select i from xxx i where i.type = xxx and i.name = xxx";

Query query = em.createQuery(queryString).setFirstResult(0).setMaxResults(5);

List<?> resultList = query.getResultList();

real data is > 10000, but the query result is just only one, so how to write the sql?