diff --git a/modules/ROOT/pages/imp-implement-api-specs.adoc b/modules/ROOT/pages/imp-implement-api-specs.adoc
index ad5d6362e..a4816a3cc 100644
--- a/modules/ROOT/pages/imp-implement-api-specs.adoc
+++ b/modules/ROOT/pages/imp-implement-api-specs.adoc
@@ -288,7 +288,7 @@ image::get-flights-select-listener.png["HTTP listener highlighted in the impleme
---
payload map ( payload01 , indexOfPayload01 ) -> {
ID: payload01.ID,
- code: (payload01.code1 default "") ++ (payload01.code2 default ""),
+ code: (payload01.code1 as String default "") ++ (payload01.code2 as String default ""),
price: payload01.price default 0,
departureDate: payload01.takeOffDate as String default "",
origin: payload01.fromAirport default "",
@@ -307,6 +307,9 @@ image::get-flights-select-listener.png["HTTP listener highlighted in the impleme
--
====
++
+NOTE: The `++` operator concatenates `String` values. The database connector can infer `code1` and `code2` as a non-`String` type (or as nullable). Use `as String` with `default ""` for each part so the transform matches the `departureDate` line in the same object, nulls are handled, and the `++` expression type-checks in the editor.
++
. In Anypoint Code Builder, open your `interface.xml` file.
. Locate the `get:\flights:american-flights-api-config` flow:
+
diff --git a/modules/ROOT/pages/tut-af-debug-am-flights.adoc b/modules/ROOT/pages/tut-af-debug-am-flights.adoc
index 0fb01716b..2a4bc1724 100644
--- a/modules/ROOT/pages/tut-af-debug-am-flights.adoc
+++ b/modules/ROOT/pages/tut-af-debug-am-flights.adoc
@@ -67,7 +67,7 @@ In the configuration XML, provide this `` configuration:
---
payload map ( payload01 , indexOfPayload01 ) -> {
ID: payload01.ID,
- code: (payload01.code1 default "") ++ (payload01.code2 default ""),
+ code: (payload01.code1 as String default "") ++ (payload01.code2 as String default ""),
price: payload01.price default 0,
departureDate: payload01.takeOffDate as String default "",
origin: payload01.fromAirport default "",
@@ -95,6 +95,9 @@ In the configuration XML, provide this `` configuration:
.. Set Variable component
.. Logger component
====
++
+NOTE: The `++` operator concatenates `String` values. The database connector can infer `code1` and `code2` as a non-`String` type (or as nullable). Use `as String` with `default ""` for each part so the transform matches the `departureDate` line in the same object, nulls are handled, and the `++` expression type-checks in the editor.
++
. Proceed to <>.
+
Learn to set up breakpoints to pause execution of your app.
diff --git a/modules/ROOT/pages/tut-af-implement-am-flights-api.adoc b/modules/ROOT/pages/tut-af-implement-am-flights-api.adoc
index 383010a0c..01b782f48 100644
--- a/modules/ROOT/pages/tut-af-implement-am-flights-api.adoc
+++ b/modules/ROOT/pages/tut-af-implement-am-flights-api.adoc
@@ -171,7 +171,7 @@ image::get-flights-select-listener.png["HTTP listener highlighted in the impleme
---
payload map ( payload01 , indexOfPayload01 ) -> {
ID: payload01.ID,
- code: (payload01.code1 default "") ++ (payload01.code2 default ""),
+ code: (payload01.code1 as String default "") ++ (payload01.code2 as String default ""),
price: payload01.price default 0,
departureDate: payload01.takeOffDate as String default "",
origin: payload01.fromAirport default "",
@@ -190,6 +190,9 @@ image::get-flights-select-listener.png["HTTP listener highlighted in the impleme
--
====
++
+NOTE: The `++` operator concatenates `String` values. The database connector can infer `code1` and `code2` as a non-`String` type (or as nullable). Use `as String` with `default ""` for each part so the transform matches the `departureDate` line in the same object, nulls are handled, and the `++` expression type-checks in the editor.
++
. In Anypoint Code Builder, open your `interface.xml` file.
. Locate the `get:\flights:american-flights-api-config` flow:
+
diff --git a/modules/ROOT/pages/tut-af-integrate-use-dataweave.adoc b/modules/ROOT/pages/tut-af-integrate-use-dataweave.adoc
index 89476774c..f99993d18 100644
--- a/modules/ROOT/pages/tut-af-integrate-use-dataweave.adoc
+++ b/modules/ROOT/pages/tut-af-integrate-use-dataweave.adoc
@@ -313,7 +313,7 @@ To find the required JSON structure, search for the JSON example under the GET m
Use DataWeave to transform the response:
-. In the configuration XML, replace the script within the `` with a DataWeave mapping:
+. In the configuration XML, replace the script in the CDATA block (``) with a DataWeave mapping:
+
[source,xml]
--
@@ -326,7 +326,7 @@ Use DataWeave to transform the response:
---
payload map ( payload01 , indexOfPayload01 ) -> {
ID: payload01.ID,
- code: (payload01.code1 default "") ++ (payload01.code2 default ""),
+ code: (payload01.code1 as String default "") ++ (payload01.code2 as String default ""),
price: payload01.price default 0,
departureDate: payload01.takeOffDate as String default "",
origin: payload01.fromAirport default "",
@@ -342,6 +342,9 @@ Use DataWeave to transform the response:
--
++
+NOTE: The `++` operator concatenates `String` values. The database connector can infer `code1` and `code2` as a non-`String` type (or as nullable). Use `as String` with `default ""` for each part so the transform matches the `departureDate` line in the same object, nulls are handled, and the `++` expression type-checks in the editor.
++
. Review your configuration XML:
+
[source,xml]
@@ -372,7 +375,7 @@ Use DataWeave to transform the response:
---
payload map ( payload01 , indexOfPayload01 ) -> {
ID: payload01.ID,
- code: (payload01.code1 default "") ++ (payload01.code2 default ""),
+ code: (payload01.code1 as String default "") ++ (payload01.code2 as String default ""),
price: payload01.price default 0,
departureDate: payload01.takeOffDate as String default "",
origin: payload01.fromAirport default "",