Uploaded image for project: 'Hibernate OGM'
  1. OGM-1407

Support Cypher queries with positional parameters for Neo4j or throw a clear exception when the user tries to run it

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 5.4.0.Beta1
    • Components: core, neo4j
    • Labels:
      None

      Description

      We should at least throw a clear exception with a message that explain that this is not working at the moment.
      MongoDB already does that.

      It should be possible to implement this for Cypher queries with Neo4j becaus ecypher queries accept parameters in the form of

      {0}, {1} 

      and so on.

      If the work on this issues is done after the update to Hibernate ORM 5.3 we also need to keep track of the property in sessionFactory.getSessionFactoryOptions().jdbcStyleParamsZeroBased() as in ParamLocationRecognizer.parseLocations

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: