Skip to content

Commit 424bf91

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 f2501e0 commit 424bf91

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
@@ -770,9 +770,8 @@ Furthermore, if you need even more control over how parameters are retrieved, co
770770
id=""
771771
ignore-column-meta-data="false"
772772
is-function="false"
773-
max-rows-per-poll="" <2>
774-
skip-undeclared-results="" <3>
775-
return-value-required="false" <4>
773+
skip-undeclared-results="" <2>
774+
return-value-required="false" <3>
776775
<int:poller/>
777776
<int-jdbc:sql-parameter-definition name="" direction="IN"
778777
type="STRING"
@@ -788,10 +787,8 @@ If the stored procedure or function does not return any data, the payload of the
788787
_Required_.
789788

790789

791-
<2> Limits the number of rows extracted per query.
792-
Otherwise all rows are extracted into the outgoing message. _Optional_.
793-
794-
790+
<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.
791+
For example, stored procedures can return an update count value, even though your stored procedure declared only a single result parameter.
795792
<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.
796793
E.g. Stored Procedures may return an update count value, even though your Stored Procedure only declared a single result parameter.
797794
The exact behavior depends on the used database.
@@ -800,13 +797,9 @@ Few developers will probably ever want to process update counts, thus the value
800797
_Optional_.
801798

802799

803-
<4> Indicates whether this procedure's return value should be included.
800+
<3> Indicates whether this procedure's return value should be included.
804801
Since _Spring Integration 3.0_. _Optional_.
805802

806-
NOTE: When you declare a Poller, you may notice the Poller's `max-messages-per-poll` attribute.
807-
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.
808-
The meaning of the attributes is the same as for the _JDBC Inbound Channel Adapter_.
809-
810803
[[stored-procedure-outbound-channel-adapter]]
811804
==== Stored Procedure Outbound Channel Adapter
812805

0 commit comments

Comments
 (0)