-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,104
  • 10
  • 27
  • 43
Sivaraj Thavamani
  • 119
  • 1
  • 2
  • 10

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,805
  • 1
  • 14
  • 26