cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Forum Posts

About the Drivers & Stacks category

All applications using Neo4j depend on drivers to execute statements to update or query data. Neo4j drivers are mostly built on the binary Bolt protocol. Official drivers exist for Java, JavaScript, .Net, Python, and Go and more. Other languages (R, ...

yolande by Community Team
  • 608 Views
  • 0 replies
  • 0 kudos

Lazy loading while adding new relation

Hi, I'm building a music advice system with Spring using neo4j. // User Model @Relationship (type = "LIKE", direction = OUTGOING) private List likedArtists = new ArrayList (); public void likeArtist (Artist artist) { likedArtists.add (artist); } Whe...

farad4y by Node
  • 1950 Views
  • 3 replies
  • 1 kudos

Adding attributes to relations in Graphaware TimeTree

Hi, a quick question, is there a way to add attributes to the relations from an existing node to the timetree using graphaware timetree? To be precise, in the example given on the Github page (https://github.com/graphaware/neo4j-timetree), say, I wan...

sid by Node
  • 462 Views
  • 0 replies
  • 0 kudos

Changing database on the fly, before a save

I am looking for the most simple way to be able to switch dynamically from one database to another. I am using the latest neo4j enterprise version in a docker. Here is my use case in details: neo4jConfiguration.useDatabase("myDb"); // Should be a...

Resolved! Migrating an "old" GRANDstack project to neo4j 4

After migrating a graph from neo4j 3.5 to neo4j 4.0.1, what are the migration steps in a GRANDstack project that ran with 3.5? What are the version requirements for neo4j-driver and neo4j-graqhql-js? With a current "grandstack starter" running agains...

Strange beahviour with custom @Query ==> No data

Hello, I am using Spring Boot 2.3 M4 with neo4j and I have a strange behaviour of a custom @Query. I have a Spring Data Repository with a method: Page<GraphMemberContact> findContactsByUserIdOrderByLastActionAtDesc(UUID id, Pageable page); where Gra...

Does the Node Id Map to @Id?

I am using sdn rx beta04. When I create an object like this: @Node class Something { @Id @GeneratedValue public Long id; } right now Id is not being generated when i save. Additionally i would expect that if using a long & GeneratedValue it ...

scott2 by Node Link
  • 519 Views
  • 1 replies
  • 0 kudos

SDN RX RC01 Breaks

Hello, I upgraded a working project from 1.0.0-beta04 to 1.0.0-rc01. Any idea why I'm getting this exception? org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'adCommands': Unsatisfied dependency express...

scott2 by Node Link
  • 1149 Views
  • 5 replies
  • 0 kudos

How could write a custom mutation resolver?

Hi. How could I write a custom mutation resolver, for a "Login", comparing a password with bcrypt with the query password. I have seen several ways but I would like to know which is the best. Some in the resolver put the cypher query and in others th...

Resolved! Indexing terms which contain a dash character

What is the preferred way to deal with the dash character when indexing nodes using db.index.fulltext.createNodeIndex()? I'm following this tutorial: https://blog.grandstack.io/using-neo4js-full-text-search-with-graphql-e3fa484de2ea I have several th...

Resolved! [Solved] Can't open a session with Neo4j OGM

Hi, I can't open a session with neo4j ogm, I can't figure why. I'm following this : https://neo4j.com/docs/ogm-manual/current/tutorial/ I got the following error : 15:35:15.265 [main] DEBUG org.neo4j.ogm.metadata.DomainInfo - Processing: com.test.dom...

Repository Save/Find Depth

Are the depth fields going to be reintroduced to the Repository objects? i.e. Repository.save( Ojbect object, int depth) Or is there a newer, cooler way of facilitating this that I am not aware of?

scott2 by Node Link
  • 3261 Views
  • 5 replies
  • 3 kudos

Error in neo4j java driver

Hello, I copied the example on: https://neo4j.com/docs/api/java-driver/current/. After compiling SmallExample.java into a jar-file and running it from the command line with: java -cp name_jar_file.jar SmallExample I get the following error: Exception...

Resolved! Stack Traces in 1.5.x+

Starting with 1.5, when there is an exception thrown from cypher execution, the stack trace that is thrown is the stack trace is from the async thread actually performing the execution. The exception message is correct, but the stack trace is fairly ...