Skip to content

DbMapper is not invoked for DML operations #10819

@vastreln

Description

@vastreln

Environment Details

  • Helidon Version: 4.3.1
  • Helidon SE
  • JDK version: 21
  • OS: macOS

Problem Description

DbMapper is not applied when executing a DML statements
Easily reproducible

Steps to reproduce

  1. Create custom DbMapper and implement abstract methods
  2. Register custom DbMapper with DbMapperProvider
  3. Apply provider to the DbClient configuration
  4. Create DbExecute and DbStatementDml
  5. Set relevant type of parameter and execute the statement
  6. Place breakpoints into DbMapper methods"
  7. Run application in debug mode.
  8. Observe statement execution exceptions that are the result of the DbMapper not applied.
  9. Notice that one of the breakpoints in the DbMaper where ever triggered.
  10. Try to execute DbStatementGet with the same mapper.
  11. Notice the query operation works and the relevant breakpoint is triggered in the DbMapper.

shopHdbClient.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions