最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Batch Size and Fetch Size in Spring Boot JDBC client - Stack Overflow

programmeradmin1浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论