admin管理员组

文章数量:1434934

I am exploring JDBC client of spring boot, and looking options to set batch size and fetch size.

But can not find any document/article explaining the same.

Is there a way preferbly in properties file to instruct spring boot to use it?

I am exploring JDBC client of spring boot, and looking options to set batch size and fetch size.

But can not find any document/article explaining the same.

Is there a way preferbly in properties file to instruct spring boot to use it?

Share Improve this question edited Nov 17, 2024 at 13:03 Yash asked Nov 17, 2024 at 12:54 YashYash 178 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

"Is there a way preferbly in properties file to instruct spring boot to use it?"

Short answer is NO.

Long answer you need to do it manually for each query you execute.

Also there is no universal way to do it. Solution will be different for different DB.

本文标签: javaBatch Size and Fetch Size in Spring Boot JDBC clientStack Overflow