Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
fuse-7.4-GA
-
None
-
%
-
-
-
-
Description
On a Camel route, using SQL component, an UPDATE statement returns "null" in the body, after executing, on Fuse 7.x
Update statement is like: UPDATE <table> SET <values> WHERE <condition>
SQL component documentation says that:
"For select operations, the result is an instance of List<Map<String, Object>> type, as returned by the JdbcTemplate.queryForList() method. For update operations, the result is the number of updated rows, returned as an Integer."
Customer says that it worked on Fuse 6, but I did not check this. What I tried was on H2 and SQL Server, with both fuse 7.1 and fuse 7.4, and all returned NULL on body after executing UPDATE statement