neo4j with Java / Netbeans

Thomas Stuetz · 20K views · 2015 · 13:19

Open on YouTube

Databases & storageSoftware practice, open source & careerstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as the tutorial they followed when getting Neo4j's Java API working in an IDE, usually while debugging errors in that setup.

Recommended by 0 people across 0 different months, 2015 to 2019.

What it is

A 13-minute screencast showing how to use the embedded Neo4j graph database from Java in NetBeans. It walks through creating a project and writing code that makes nodes and relationships, as a hands-on demo credited to a screencast created by Lisa and posted by Thomas Stuetz.

What people said

Cites Michael Fouché · 2015-04 · Stack Overflow · on “Neo4J in Netbeans: error with Iterator”

i'm trying to learn about NoSql databases and would love to integrate it with Netbeans, so i'm trying to make a piece of tutorial code run on my pc. However i encountered an issue right at the end, I'm hoping someone can point me in the right direction. package com.mycompany.neo4jdemo; import org.neo4j.cypher.ExecutionEngine; import org.neo4j.cypher.ExecutionResult; import org.neo4j.graphdb.GraphDatabaseService; import org.neo4j.graphdb.Label; import org.neo4j.graphdb.Node; import org.neo4j.graphdb.Relationship; import org.neo4j.graphdb.RelationshipType; import org.neo4j.graphdb.ResourceIterator; import org.neo4j.graphdb.Transaction; import org.neo4j.graphdb.factory.GraphDatabaseFactory; imp

Cites Dust_In_The_Wind · 2017-05 · Stack Overflow · on “Neo4J Browser does not show any results on connecting with Java API”

I'm trying to connect to Neo4J using Java, and have been following this sample demo [this video] . I setup a new Maven Project, and added the code which creates a few Nodes and Relationships among the nodes. This is how my main class looks like - package neo4j; import org.neo4j.cypher.internal.compiler.v2_3.No; import org.neo4j.graphdb.*; import org.neo4j.graphdb.factory.GraphDatabaseFactory; import java.io.File; /** * Created by manish on 5/15/17. */ public class Neo4JDemo { public enum NodeType implements Label { Person, Course, Dummy; } public enum RelationType implements RelationshipType { Knows, BelongsTo; } public static void main(String[] args) { GraphDatabaseFactory databaseFactory = new

Cites A S · 2019-01 · Stack Overflow · on “Unable to obtain lock on store lock file”

I had a similar issue and the problem was I was running the Neo4j version in the browser from the terminal at the same time that I was trying to access it from my java code and this was causing the error. The solution was to stop the Neo4j from the command line and execute the code and then relaunch the Neo4j from the command line which solved the issue. The video link helped " [this video] "