Skip to content

JS neo4j-driver - version 1.7.3 does not execute queries with parameters against database with Neo4j version 3.5.2 #445

Closed
@cameliaben

Description

@cameliaben

Hello,

I have noticed that executing queries from a NodeJS application, using neo4j-driver version 1.7.3, is not working against Neo4j database with version 3.5.2, for parameterized queries, like below:
`
// CASE 1 - promise based approach :
session.run( query, param ).then( ( result ) => {
console.log( result );
} )
.catch( err => console.log( err ) );

//-----------------------------------------------------------------------
//CASE 2 - streaming-based approach:
session.run( query, param )
.subscribe ( {
onNext ( record ) {
console.log( record );
},
onCompleted ( result ) {
console.log( result );
session.close();
},
onError ( error ) {
console.log( error );
session.close();
},
} );`

Both approaches log only query statistics, no results retrieved, although the same query executed on GrapheneDB client produces results.
Queries that do not have parameters execute as expected on Neo4j DB , version 3.5.2.

Both above approaches execute as expected against Neo4j database version 3.3.9, hosted on Graphene DB.

Is there any known compatibility issue between neo4j-driver, v1.73 and Neo4j Database, 3.5.2 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions