Commit a3bafb1e by apoorvnaik

ATLAS-2211: Dangling transaction issue within GraphBackedMetadataRepository

parent 27918145
......@@ -106,6 +106,7 @@ public class GraphBackedMetadataRepository implements MetadataRepository {
public String getIdAttributeName() {
return Constants.GUID_PROPERTY_KEY;
}
@Override
public String getVersionAttributeName() {
return Constants.VERSION_PROPERTY_KEY;
......@@ -159,6 +160,7 @@ public class GraphBackedMetadataRepository implements MetadataRepository {
}
@Override
@GraphTransaction
public ITypedReferenceableInstance getEntityDefinition(String guid) throws RepositoryException, EntityNotFoundException {
return getEntityDefinitions(guid).get(0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment