File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDO Get the size of a List

 
Stephen Foster
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).

i.e.



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:

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic