I have been trying to configure neo4j ogm from java end. In the `Driver 
Configuration` section the configuration code is given like bellow for HTTP 
and Embedded Deriver: 
    
     Configuration configuration = new Configuration()
        .driverConfiguration()
        .setDriverClassName("org.neo4j.ogm.drivers.http.driver.HttpDriver")
        .setURI("http://user:password@localhost:7474";);

Now this code is giving me error because of setURI method return 
`DeriverConfiguration` class. But the Bolt Driver section code given as 
follow which is working fine.

    Configuration configuration = new Configuration();
        configuration.driverConfiguration()
        .setDriverClassName("org.neo4j.ogm.drivers.bolt.driver.BoltDriver")
        .setURI("bolt://neo4j:password@localhost")
        .setConnectionPoolSize(150);

I tried code like Bolt configuration for HTTP configuration which worked. I 
think the example of HTTP and Embedded Driver code should same as Bolt 
Driver example. Otherwise it is very confusing. 



Here is the site link 
<https://neo4j.com/docs/ogm-manual/current/reference/#reference:configuration:driver>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to