Skip to content

Commit 3d20632

Browse files
committed
Fix javadoc in JdbcCursorItemReaderBuilder
- JdbcCursorItemReaderBuilder.queryTimeout(int) -> milliseconds - but, AbstractCursorItemReader.setQueryTimeout(int) -> seconds Signed-off-by: Jisu Lee <[email protected]>
1 parent c6f88b8 commit 3d20632

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)