Remove max-rows from Stored Proc-in-ch-ad Docs
https://stackoverflow.com/questions/51361379/spring-integration-jdbc-what-is-the-replacement-for-the-missing-attribute-max **Cherry-pick to 5.0.x and 4.3.x**
This commit is contained in:
@@ -805,9 +805,8 @@ The following listing calls out the attributes that matter for a stored procedur
|
||||
id=""
|
||||
ignore-column-meta-data="false"
|
||||
is-function="false"
|
||||
max-rows="" <2>
|
||||
skip-undeclared-results="" <3>
|
||||
return-value-required="false" <4>
|
||||
skip-undeclared-results="" <2>
|
||||
return-value-required="false" <3>
|
||||
<int:poller/>
|
||||
<int-jdbc:sql-parameter-definition name="" direction="IN"
|
||||
type="STRING"
|
||||
@@ -821,24 +820,17 @@ The following listing calls out the attributes that matter for a stored procedur
|
||||
<1> Channel to which polled messages are sent.
|
||||
If the stored procedure or function does not return any data, the payload of the `Message` is null.
|
||||
Required.
|
||||
<2> Limits the number of rows extracted per query.
|
||||
Otherwise, all rows are extracted into the outgoing message.
|
||||
Optional.
|
||||
<3> If this attribute is set to `true`, all results from a stored procedure call that do not have a corresponding `SqlOutParameter` declaration are bypassed.
|
||||
<2> If this attribute is set to `true`, all results from a stored procedure call that do not have a corresponding `SqlOutParameter` declaration are bypassed.
|
||||
For example, stored procedures can return an update count value, even though your stored procedure declared only a single result parameter.
|
||||
The exact behavior depends on the used database.
|
||||
The value is set on the underlying `JdbcTemplate`.
|
||||
The value defaults to `true`.
|
||||
Optional.
|
||||
<4> Indicates whether this procedure's return value should be included.
|
||||
<3> Indicates whether this procedure's return value should be included.
|
||||
Since Spring Integration 3.0.
|
||||
Optional.
|
||||
====
|
||||
|
||||
NOTE: When you declare a poller, you may notice the poller's `max-messages-per-poll` attribute.
|
||||
For information about how it relates to the `max-rows` attribute of the stored procedure inbound channel adapter, see "`<<jdbc-max-rows-versus-max-messages-per-poll>>`".
|
||||
The meaning of the attributes is the same as for the JDBC inbound channel adapter.
|
||||
|
||||
[[stored-procedure-outbound-channel-adapter]]
|
||||
==== Stored Procedure Outbound Channel Adapter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user