-2

I want to know is there any inter relationship between autocommit and fetchsize in JDBC. I checked, all my connection is autocommit = true. I have set fetch size is 100. Is it correct? I want to know fetch size is working or not?

In my application am handling 500k record using a single db connection in SQL server or Oracle DB. So, what is the recommended fetch size?

James Z
  • 12,209
  • 10
  • 24
  • 44
Sivaraj Thavamani
  • 129
  • 1
  • 3
  • 11

1 Answers1

0

setFetchSize is not always supported by your driver so you might need to check the implementation, and generated SQL, to determine if it is being applied

farrellmr
  • 1,815
  • 2
  • 15
  • 26