nebula-contrib / nebula-jdbc

The JDBC connector for Nebula Graph.
42 stars 15 forks source link

Unable pass multiline parameter to NamedParameterJdbcTemplate #63

Open ManuylovAlexandr opened 1 year ago

ManuylovAlexandr commented 1 year ago

Statement

this.jdbcTemplate.update(
    "insert vertex player (name) values :id:(:name);",
     new MapSqlParameterSource()
        .addValue("id", someId, Types.VARCHAR)
        .addValue("name", someName, Types.LONGVARCHAR)
)

fails if someName contains new line symbol

beheradibas commented 1 year ago

Looking into it

alpeshnikumbh812 commented 1 year ago

Can you name the file in which this statment is present. I want to work on this

ManuylovAlexandr commented 12 months ago

Can you name the file in which this statment is present. I want to work on this

There is no file where this statement is presented, this is an example of use.