Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable pass multiline parameter to NamedParameterJdbcTemplate #63

Open
ManuylovAlexandr opened this issue Oct 18, 2023 · 3 comments
Open
Labels
bug Type: something is unexpected Hacktoberfest

Comments

@ManuylovAlexandr
Copy link

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

@wey-gu wey-gu added bug Type: something is unexpected Hacktoberfest labels Oct 19, 2023
@beheradibas
Copy link

Looking into it

@alpeshnikumbh812
Copy link

alpeshnikumbh812 commented Oct 25, 2023

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

@ManuylovAlexandr
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: something is unexpected Hacktoberfest
Projects
None yet
Development

No branches or pull requests

4 participants