title: Using Merge to create nodes to Neo4J database
body: <p>I am new to Neo4J Cypher database, and I have get a weird "error" while trying to write values using <b>Merge</b> into the database. </p>
  
  <pre><code>   GraphDatabaseService graphDb = new GraphDatabaseFactory().newEmbeddedDatabase( dbpath);
     ExecutionEngine engine = new ExecutionEngine( graphDb );;
     try (Transaction tx = graphDb.beginTx()){    
          result = engine.execute( youtubeQuery );
          tx.success();
          tx.close();
     }
  </code></pre>
  
  <p>The code runs quietly, and when I refresh the neo4j browser, there are no records. I checked the query works by typing to the Neo4J browser. My dbpath works for reading values from the Neo4J database. </p>
  
  <p>dbpath: localhost:7474/db/data/cypher
  explorer: localhost:7474/explorer</p>
  
  <p>What seems to be the problem here? Is it only the path problem or did I miss something before tx.success? Any suggestions?</p>