Skip to content

Commit

Permalink
Issue #157 feat: saving ID in a new internal property
Browse files Browse the repository at this point in the history
  • Loading branch information
steotia committed Jul 2, 2018
1 parent 72f95c5 commit 2940b23
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ public String addEntity(Graph entity, String label, String rootNodeLabel, String
if (rootNodeLabel!=null && property!=null){
connectNodes(rootNodeLabel, label, property);
}
tx.commit();
synchronized(this){
tx.commit();
}
logger.debug("RegistryDaoImpl : Entity added for transactional DB with rootNodeLabel : {}, label : {}, property : {}", rootNodeLabel, label, property);
}else{
watch.start("RegistryDaoImpl.addOrUpdateVerticesAndEdges");
Expand Down

0 comments on commit 2940b23

Please sign in to comment.