Skip to content

Create MultipleUpdateHandler for implementations that use PreparedStatements #283

Description

@GLaDAP

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions