GithubHelp home page GithubHelp logo

Comments (6)

venkat125 avatar venkat125 commented on June 25, 2024 5

But, it is NICE TO HAVE feature though.
Can i get the below doubt cleared please?

  • Do the UUID plugin from Graphaware will be unique even if we've more Neo4j (instance in the hosting/ running ip's in cloud)? @bachmanm

from neo4j-uuid.

bachmanm avatar bachmanm commented on June 25, 2024

Unfortunately, this is how Neo4j works today - if you create a node a return it immediately, its contents do not reflect changes performed by transaction event handlers (i.e., it does not re-read the node before returning it). This is true for all the APIs, the browser, etc. A separate call must be made to get the UUID and I don't think there's any way we can change this behaviour in the framework.

from neo4j-uuid.

voidstardb avatar voidstardb commented on June 25, 2024

Thanks for the explanation.

from neo4j-uuid.

voidstardb avatar voidstardb commented on June 25, 2024

Just for future reference: http://neo4j.com/docs/2.2.1/javadocs/org/neo4j/graphdb/event/TransactionEventHandler.html

beforeCommit
The transaction is still open when this method is invoked, making it possible to perform mutating operations in this method. This is however highly discouraged. Changes made in this method are not guaranteed to be visible by this or other TransactionEventHandlers.

There's no other obvious lifecycle hook in which to place the UUID functionality. So, I guess we're stuck with this for now.

from neo4j-uuid.

Bretto avatar Bretto commented on June 25, 2024

What a shame...

from neo4j-uuid.

Crodaycat avatar Crodaycat commented on June 25, 2024

Is there something new about this?

from neo4j-uuid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.