Search code examples
javagoogle-app-enginegoogle-cloud-datastorejdo

Is there a JDO method analogous to the low-level App Engine Datastore API method get(Iterable<Key> keys)?


I want to get multiple entities from the App Engine datastore by passing a list of keys as the parameter. The low level API has a method for this: get(Iterable keys). Is there an analogous method available for the JDO interface as well?


Solution

  • Try PersistenceManager.getObjectsById(Collection... keys)