try {
getDaoStat().incGetCalls();
Map<Key, Entity> loaded = getSystemService().getDatastore().get(keys);
for (Key key : loaded.keySet()) {
BaseEntity model = (BaseEntity)clazz.newInstance();
model.load(loaded.get(key));
result.put(model.getId(), model);
}
}
catch (Exception e) {
e.printStackTrace();