Giter Club home page Giter Club logo

Comments (2)

circles-arrows avatar circles-arrows commented on July 27, 2024 1

Thanks for having a look at Blueprint41 and I’m sorry to hear your ran into trouble.

You should not have had an instance of Blueprint41.Neo4j.Persistence.Void.Neo4jTransaction.Run, this object exists mainly to be able to run "Model.Execute(false);" without being connected to a real database. You could use that “void connection” if you want to query the model to generate code from it or some documentation, but not to read from or write to the database.

I suspect you got a copy of the “void connection” because you are missing the setup of the neo4j driver and your database connection. Possibly it also could be you are not having this setup at the entry-point of your application before you execute the model.

Example driver and database connection setup code:

using Blueprint41.Core;
using neo4j = Blueprint41.Neo4j.Persistence.Driver.v4;  // Driver.v5 will be coming soon

neo4j.Neo4jPersistenceProvider driver = new neo4j.Neo4jPersistenceProvider("bolt://localhost:7687", "[USERNAME_HERE]", "[PASSWORD_HERE]");
PersistenceProvider.CurrentPersistenceProvider = driver;

Hope this solves your problem, and we’ll have a look at the wiki to see if we can improve this topic.

from blueprint41.

SidneyAks avatar SidneyAks commented on July 27, 2024

Using the new driver instance I am able to get further, Reviewing the docs it looks like the version specific neo4j using statement and the creation of the PersistanceProvider need to be updated;

image

I'm having other issues but will make sure I'm correct to this point and open a new issue if I can't resolve. Thank you!

from blueprint41.

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.