This page shows how to do "simple joins" http://gae-java-persistence.blogspot.com/2010/03/executing-simple-joins-across-owned.html
However, is there a way to join the same child element twice to check for a child element that contains 2 specific items, like I'm trying to do here but failing/returning 0 results? javax.jdo.Query q5 = pm2.newQuery("select key from " + Document.class.getName() + " where " + "DocumentSearchKeyValues.contains(dskv) && dskv.DocumentSearchKey_Value == 'key 3 - sample value'" + " && DocumentSearchKeyValues.contains(dskv2) && dskv2.DocumentSearchKey_Value == 'test key 2 - sample value'" ); q5.declareVariables(DocumentSearchKeyValue.class.getName() + " dskv; " + DocumentSearchKeyValue.class.getName() + " dskv2"); List<Key> q5_results = (List<Key>) q5.execute(); -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.