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

Create MultipleUpdateHandler for implementations that use PreparedStatements #283

Open
GLaDAP opened this issue May 31, 2022 · 0 comments
Open

Comments

@GLaDAP
Copy link
Member

GLaDAP commented May 31, 2022

Implementations that use Prepared Statements right now implement the operation handling within the class that extends the BaseDb. However, to separate the functionality and clarify the code, it is better to move the execution of the queries to a separate handler. Some difficulties arise:

  • The prepared statements are created differently
  • Separate update queries require parameters that are not yet present in the parameter maps or have different positions

Example implementation is the Postgres implementation. Related issue is #265, when implemented, also uses prepared statements in multiple updates.

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

No branches or pull requests

1 participant