Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 74de2e8

Browse files
itis821fmbenhassine
authored andcommittedJun 3, 2025·
Fix javadoc in JdbcCursorItemReaderBuilder
- JdbcCursorItemReaderBuilder.queryTimeout(int) -> milliseconds - but, AbstractCursorItemReader.setQueryTimeout(int) -> seconds Signed-off-by: Jisu Lee <[email protected]>
1 parent a698567 commit 74de2e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎spring-batch-infrastructure/src/main/java/org/springframework/batch/item/database/builder/JdbcCursorItemReaderBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public JdbcCursorItemReaderBuilder<T> maxRows(int maxRows) {
164164
}
165165

166166
/**
167-
* The time in milliseconds for the query to timeout
167+
* The time in seconds for the query to timeout
168168
* @param queryTimeout timeout
169169
* @return this instance for method chaining
170170
* @see JdbcCursorItemReader#setQueryTimeout(int)

0 commit comments

Comments
 (0)
Please sign in to comment.