How to get a count of records when using Persistence API?
531207Aug 31 2006 — edited Sep 1 2006i noticed there is no method i could use to get a count number of db record when using Persistence API.
by now i'm using:
while(myEntityCursor.next()!=null)
count ++;
but i'm sure that would not be a good implementation. Could anyone help me for that?
Thanks
Richie