Hi,
> it is great to see how well it has progressed and how the drudgery of O/R
> mapping has been greatly 
> reduced! 
  Great to note your appreciation of the progress of ORM (some one once
said: ORM is the Viet Nam of Computer Science:)

Why a separate count(*) needed in this case?
Is not the number of result rows returned by the first query is the same as
the number of customers to make any paging decision? 
If that is true, the simply q1.getResultList().size() should obviate the
COUNT(*) query?

Or have I just got it all wrong? 

-----
Pinaki 
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/Query-syntax-question-about-COUNT-x-and-GROUP-BY-tp5440084p5442654.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to