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 badges1 Answer
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.