Can you please try:
select count (this) from <entity>?
This topic was discussed once or more in the group...

On Fri, Jun 11, 2010 at 5:39 PM, RAVINDER MAAN <[email protected]> wrote:

> How can we get records count for a query in JDO.
> In sql we have select count(*) from <table_name>
> i want to get number of records returned by a query. what is the
> efficient way to do that.One option is to use size() function .I think
> it is not best way.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to