Skip to content

Commit 34c454b

Browse files
committed
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** # Conflicts: # src/reference/asciidoc/jdbc.adoc
1 parent 7c9697b commit 34c454b

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

src/reference/asciidoc/jdbc.adoc

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -811,9 +811,8 @@ Furthermore, if you need even more control over how parameters are retrieved, co
811811
id=""
812812
ignore-column-meta-data="false"
813813
is-function="false"
814-
max-rows-per-poll="" <2>
815-
skip-undeclared-results="" <3>
816-
return-value-required="false" <4>
814+
skip-undeclared-results="" <2>
815+
return-value-required="false" <3>
817816
<int:poller/>
818817
<int-jdbc:sql-parameter-definition name="" direction="IN"
819818
type="STRING"
@@ -829,10 +828,8 @@ If the stored procedure or function does not return any data, the payload of the
829828
_Required_.
830829
831830
832-
<2> Limits the number of rows extracted per query.
833-
Otherwise all rows are extracted into the outgoing message. _Optional_.
834-
835-
831+
<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.
832+
For example, stored procedures can return an update count value, even though your stored procedure declared only a single result parameter.
836833
<3> If this attribute is set to `true`, then all results from a stored procedure call that don't have a corresponding `SqlOutParameter` declaration will be bypassed.
837834
E.g. Stored Procedures may return an update count value, even though your Stored Procedure only declared a single result parameter.
838835
The exact behavior depends on the used database.
@@ -841,13 +838,9 @@ Few developers will probably ever want to process update counts, thus the value
841838
_Optional_.
842839
843840
844-
<4> Indicates whether this procedure's return value should be included.
841+
<3> Indicates whether this procedure's return value should be included.
845842
Since _Spring Integration 3.0_. _Optional_.
846843
847-
NOTE: When you declare a Poller, you may notice the Poller's `max-messages-per-poll` attribute.
848-
For information about how it relates to the `max-rows-per-poll` attribute of the _Stored Procedure Inbound Channel Adapter_, please see <<jdbc-max-rows-per-poll-versus-max-messages-per-poll>> for a thorough discussion.
849-
The meaning of the attributes is the same as for the _JDBC Inbound Channel Adapter_.
850-
851844
[[stored-procedure-outbound-channel-adapter]]
852845
==== Stored Procedure Outbound Channel Adapter
853846

0 commit comments

Comments
 (0)