From 4a110ec8b95ac06cdbfa9773f73c58ee91a4bd54 Mon Sep 17 00:00:00 2001 From: dajiaohuang Date: Fri, 11 Sep 2026 22:09:34 +0800 Subject: [PATCH] Document the JdbcAppender truncateStrings attribute `JdbcAppender.Builder#truncateStrings` is a `@PluginBuilderAttribute` with a default of `true`, so it can be set on the `` element, but it was the only optional attribute of the appender missing from the attribute table in the manual. Add the missing row. --- .../modules/ROOT/pages/manual/appenders/database.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/site/antora/modules/ROOT/pages/manual/appenders/database.adoc b/src/site/antora/modules/ROOT/pages/manual/appenders/database.adoc index 901c37ba25a..87f878b2851 100644 --- a/src/site/antora/modules/ROOT/pages/manual/appenders/database.adoc +++ b/src/site/antora/modules/ROOT/pages/manual/appenders/database.adoc @@ -452,6 +452,13 @@ If set to a value greater than 0, after an error, the `JdbcDatabaseManager` will If the reconnecting fails then an exception will be thrown and can be caught by the application if <> is set to `false`. + +| [[JdbcAppender-attr-truncateStrings]]truncateStrings +| `boolean` +| `true` +| +If `true`, values written to columns of a string type are truncated to the size reported by the database metadata. +This avoids errors caused by values that are longer than the target column. |=== [#JdbcAppender-elements]