jQuery in Action, 3rd edition
The moose likes Object Relational Mapping and the fly likes JDO Get the size of a List Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "JDO Get the size of a List" Watch "JDO Get the size of a List" New topic

JDO Get the size of a List

Stephen Foster

Joined: Apr 23, 2009
Posts: 10
Hi All,

I'm relatively new to writing JDO queries and am unsure if this functionality is possible. Basically I have an object that contains a List object that I persist in a database (google app engine).


What I want to do is write a query that only retrieves results back where the size of the List is greater than 3. Is this remotely possible or have I missunderstood some of the capabilities of JDO queries.

I want to write something along the lines of:

SCJP 5.0 80%, SCWCD 82%
I agree. Here's the link: http://aspose.com/file-tools
subject: JDO Get the size of a List
It's not a secret anymore!