-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
appendersAffects one or more Appender pluginsAffects one or more Appender pluginsappenders:JDBCIssue concerning the JDBC appenderIssue concerning the JDBC appender
Description
The JDBC appender right now provides two ways to configure the column mapping: ColumnMapping (used also by other appenders) and the JDBC specific ColumnConfig. Neither of them is deprecated or recommended.
I would propose to:
- merge the functionality of these two configuration knobs,
- add a kill-switch that prevents users from unintentionally injecting SQL using these column mappings. A setting like
literal="A great string"insertsA great stringinto the SQL statement without quoting it. This behavior is documented, but it would be probably safer to quote everything unless the user provides an additional property (e.g.quoteLiteral="false"). This would make the configuration more foolproof.
Metadata
Metadata
Assignees
Labels
appendersAffects one or more Appender pluginsAffects one or more Appender pluginsappenders:JDBCIssue concerning the JDBC appenderIssue concerning the JDBC appender
Type
Projects
Status
To triage