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

Replace parameter instead of adding them in JdbcPreparedStatement #371

Closed
svettwer opened this Issue Apr 26, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@svettwer
Member

svettwer commented Apr 26, 2018

Hi!

jdbcPreparedStatement.setInt(0, 2);
jdbcPreparedStatement.setInt(0, 42);

Currently the prepared statement would contain two parameters:

  • 2 on index 1
  • 42 on index 0

If the prepared statement is reused, the 42 should replace the 2 instead of being added.

@svettwer svettwer added the Type: Bug label Apr 26, 2018

@svettwer svettwer added this to the v2.7.5 milestone Apr 26, 2018

@svettwer

This comment has been minimized.

Member

svettwer commented Apr 26, 2018

The issue is not located in the citrus code but in the jdbc-driver. Therefore the issue is moved to citrusframework/citrus-db#15.

@svettwer svettwer closed this Apr 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment