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

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

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745634487a4637306.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信