"Added query result[cacheKey={0}] in repository cache[{1}]",
new Object[]{cacheKey, getName()});
// Checks if the result is a single result
final JSONArray results = ret.optJSONArray(Keys.RESULTS);
if (1 == results.length()) {
final JSONObject jsonObject = results.optJSONObject(0);
// Checks if the single result is an entity
if (jsonObject.has(Keys.OBJECT_ID)) {
// If it is an entity, put its key into cache
CACHE.put(CACHE_KEY_PREFIX