Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDO Get the size of a List  RSS feed

 
Stephen Foster
Greenhorn
Posts: 10
  • 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:

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!