diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java index 1dd35ed8c6..51b74ecc25 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java @@ -295,7 +295,7 @@ public AtlasObjectId toAtlasObjectId(AtlasVertex entityVertex) throws AtlasBaseE referenceVertexProperties = preloadProperties(entityVertex, entityType, relationAttributes, false); } for (AtlasAttribute attribute : entityType.getUniqAttributes().values()) { - Object attrValue = getVertexAttributePreFetchCache(entityVertex, attribute, referenceVertexProperties); + Object attrValue = getVertexAttribute(entityVertex, attribute); if (attrValue != null) { uniqueAttributes.put(attribute.getName(), attrValue);