Skip to content

Inserts into databases (H2, Oracle) using templates fails when special characters(') is present in data #8

@anandbalaraman

Description

@anandbalaraman

When a special character such as ' is present in the data, and when I load the data using AnyDataToDbDataTransferBuilder() withTargetSqlTemplate(), program fails.
We need to escape the special characters (by adding an extra ') while the template is transformed into actual values.
In my case, I read a binary file, form template and load data into H2 database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions