I have a list of object ids - the ids are for objects that are instances of different classes, but they all inherit from AbstractElement.
I want to get the AbstractElement.name property for each of these objects, but for performance reasons I do not want to iterate through the list, load the object, get the name property and put it in a map.
Is there a way to run a single query to get the name property of each of the objects?
i.e. given a list of object ids, get back a map of objectId/name.
Thanks
|