Amit Bhoyar
Amit Bhoyar
package org.icedq.datacatalog.api.v1.configuration; import lombok.extern.slf4j.Slf4j; import org.apache.commons.configuration2.PropertiesConfiguration; import org.icedq.commons.errorcodes.ApplicationErrorCode; import org.icedq.datacatalog.api.v1.configuration.properties.SqlgProperties; import org.icedq.datacatalog.api.v1.exception.ApplicationException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Scope; import org.umlg.sqlg.structure.SqlgGraph; import org.umlg.sqlg.structure.topology.Schema; import java.util.Optional; @Slf4j @Configuration @Scope("singleton") public...
here is the code _try { Edge edge = vertexOut.addEdge(edgeLabel.getLabel(), vertexIn, properties.toArray()); sqlgGraphConfiguration.getSqlgGraph().tx().commit(); return edge; } catch (Exception e) { e.printStackTrace(); return null; }_
I am first creating Edge Label with say dummy Vertex Lable **Dummy**. Then I am trying to add a link with the **_Edge edge = vertexOut.addEdge(edgeLabel.getLabel(), vertexIn, properties.toArray());_** where outvertex...
Thanks, I will handle all the Exceptions But I am not getting any exceptions in this scenario
Got it. I will check with the commit and Rollback. Do I also explicitly need to do this for Read-only Operations? like getVertex, get edge, traversal ?
Thanks a lot for the quick response and guidance. I will work on it and let you know if I still face this issue.